diff --git a/package.json b/package.json index e1e4526..2c4d80f 100644 --- a/package.json +++ b/package.json @@ -7,9 +7,10 @@ "types": "dist/index-node.d.ts", "scripts": { "build:node": "tslint -c tslint.json \"./src/*.ts\" && tsc", - "build:browser": "webpack --mode=production", + "build:browser": "tslint -c tslint.json \"./src/*.ts\" && webpack --mode=production", + "build:all": "tslint -c tslint.json \"./src/*.ts\" && tsc && webpack --mode=production", "docs": "jsdoc -d docs -c jsdoc.conf.json -t ./node_modules/ink-docstrap/template -R README.md dist/node/consts.js dist/node/poweredup-node.js dist/node/lpf2hub.js dist/node/wedo2smarthub.js dist/node/boostmovehub.js dist/node/puphub.js dist/node/pupremote.js dist/node/duplotrainbase.js dist/node/hub.js dist/node/consts.js", - "all": "npm run build:browser && npm run build:node && npm run docs", + "all": "npm run build:all && npm run docs", "prepublishOnly": "npm run build:node" }, "author": "Nathan Kellenicki ",