@abtasty/widget-quality 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +31 -0
- package/dist/form.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# AB-tasty Widget-Quality
|
|
2
|
+
|
|
3
|
+
This widget was generated using AB Tasty Widget CLI. You can find more infomation and documentation about widgets at https://abtasty.gitbooks.io/widget/.
|
|
4
|
+
|
|
5
|
+
## Preview your widget
|
|
6
|
+
|
|
7
|
+
Launch your widget in a new window and watch for changes.
|
|
8
|
+
```bash
|
|
9
|
+
npm start
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Main files
|
|
13
|
+
|
|
14
|
+
* `main.js`
|
|
15
|
+
Main source code of your widget
|
|
16
|
+
* `form.js`
|
|
17
|
+
Configuration form for your widget
|
|
18
|
+
|
|
19
|
+
You can specify each file location in the `package.json` like this:
|
|
20
|
+
```json
|
|
21
|
+
"main": "dist/main.js",
|
|
22
|
+
"form": "dist/form.js",
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Add your widget to AB Tasty
|
|
26
|
+
|
|
27
|
+
1. First, you'll need to have your widget on NPM:
|
|
28
|
+
* Create a minified bundle with `npm run build`
|
|
29
|
+
* Bump the version of your widget ([using semver](http://semver.org/)) with `npm version [patch|minor|major]`
|
|
30
|
+
* Publish it to NPM: `npm publish`
|
|
31
|
+
2. Once your widget is on NPM, you can now add it on AB Tasty at https://marketplace.abtasty.com/publish.
|