create-thingworx-widget2 1.0.1 → 1.0.3
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 +7 -6
- package/bin/create-thingworx-widget.js +568 -239
- package/package.json +14 -1
package/README.md
CHANGED
|
@@ -33,12 +33,12 @@ MyWidget/
|
|
|
33
33
|
|
|
34
34
|
## Generated npm scripts
|
|
35
35
|
|
|
36
|
-
| Command
|
|
37
|
-
|
|
38
|
-
| `npm run build`
|
|
39
|
-
| `npm run buildProduction`
|
|
40
|
-
| `npm run upload`
|
|
41
|
-
| `npm run uploadProduction` | Production build + upload to ThingWorx
|
|
36
|
+
| Command | Description |
|
|
37
|
+
| -------------------------- | ------------------------------------------- |
|
|
38
|
+
| `npm run build` | Dev build (unminified) → `zip/` |
|
|
39
|
+
| `npm run buildProduction` | Production build (concat + minify) → `zip/` |
|
|
40
|
+
| `npm run upload` | Dev build + upload to ThingWorx |
|
|
41
|
+
| `npm run uploadProduction` | Production build + upload to ThingWorx |
|
|
42
42
|
|
|
43
43
|
## Publishing to npm
|
|
44
44
|
|
|
@@ -48,6 +48,7 @@ npm publish --access public
|
|
|
48
48
|
```
|
|
49
49
|
|
|
50
50
|
Once published, anyone can run:
|
|
51
|
+
|
|
51
52
|
```bash
|
|
52
53
|
npm create thingworx-widget@latest
|
|
53
54
|
```
|