six-widget-buildsupport
Version:
SIX Widgets buildsupport
38 lines (30 loc) • 889 B
Markdown
"scripts": {
"clean": "six-clean",
"start": "six-start",
"compile:dev": "six-compile-dev",
"test": "six-test",
"get-stage": "six-get-stage",
"deploy": "six-deploy"
},
```
```javascript
"config": {
"disable-sdk-bundle": 1
},
```
```javascript
"config": {
"additional-bundles": "bundles/webpack-without-highcharts.js,bundles/webpack-with-sdk-and-react-without-highcharts.js"
},
```
**PUBLISH_NPM:** needs to be set when deploying to actually publish to npm. <br />
**PUSH_CDN:** needs to be set when deploying to actually publish to cdn. <br />
A ".npmignore" file will be generated automatically which uses whitelisting.
Add files to .npm_publish_whitelist to allow them to be published.
Add to package.json
```javascript