Better build process
This commit is contained in:
parent
1538a47d8a
commit
a3ddb3e273
@ -7,9 +7,10 @@
|
|||||||
"types": "dist/index-node.d.ts",
|
"types": "dist/index-node.d.ts",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:node": "tslint -c tslint.json \"./src/*.ts\" && tsc",
|
"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",
|
"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"
|
"prepublishOnly": "npm run build:node"
|
||||||
},
|
},
|
||||||
"author": "Nathan Kellenicki <nathan@kellenicki.com>",
|
"author": "Nathan Kellenicki <nathan@kellenicki.com>",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user