|
@@ -16,8 +16,10 @@
|
|
|
"test": "npm run lint && jest",
|
|
|
"jest": "jest",
|
|
|
"build": "npm run build-tsc && npm run build-extra && npm run build-webpack",
|
|
|
+ "rebuild": "npm run rebuild-tsc && npm run build-extra && npm run build-webpack",
|
|
|
"build-viewer": "npm run build-tsc && npm run build-extra && npm run build-webpack-viewer",
|
|
|
"build-tsc": "concurrently \"tsc --incremental\" \"tsc --build tsconfig.commonjs.json --incremental\"",
|
|
|
+ "rebuild-tsc": "concurrently \"tsc\" \"tsc --build tsconfig.commonjs.json --incremental\"",
|
|
|
"build-extra": "cpx \"src/**/*.{scss,html,ico}\" lib/",
|
|
|
"build-webpack": "webpack --mode production --config ./webpack.config.production.js",
|
|
|
"build-webpack-viewer": "webpack --mode production --config ./webpack.config.viewer.js",
|