|
@@ -16,6 +16,7 @@
|
|
|
"test": "npm install --no-save \"gl@^6.0.2\" && npm run lint && jest",
|
|
|
"jest": "jest",
|
|
|
"build": "npm run build-tsc && npm run build-extra && npm run build-webpack",
|
|
|
+ "build-tm": "npm run build-tsc && npm run build-extra && npm run build-webpack-tm",
|
|
|
"clean": "node ./scripts/clean.js",
|
|
|
"rebuild": "npm run clean && npm run build",
|
|
|
"build-viewer": "npm run build-tsc && npm run build-extra && npm run build-webpack-viewer",
|
|
@@ -23,15 +24,18 @@
|
|
|
"build-extra": "cpx \"src/**/*.{scss,html,ico,jpg}\" lib/",
|
|
|
"build-webpack": "webpack --mode production --config ./webpack.config.production.js",
|
|
|
"build-webpack-viewer": "webpack --mode production --config ./webpack.config.viewer.js",
|
|
|
+ "build-webpack-tm": "webpack --mode production --config ./webpack.config.tm-viewer.js",
|
|
|
"watch": "concurrently -c \"green,green,gray,gray\" --names \"tsc,srv,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-servers\" \"npm:watch-extra\" \"npm:watch-webpack\"",
|
|
|
"watch-viewer": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-viewer\"",
|
|
|
"watch-viewer-debug": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-viewer-debug\"",
|
|
|
+ "watch-tm": "concurrently -c \"green,gray,gray\" --names \"tsc,ext,wpc\" --kill-others \"npm:watch-tsc\" \"npm:watch-extra\" \"npm:watch-webpack-tm\"",
|
|
|
"watch-tsc": "tsc --watch --incremental",
|
|
|
"watch-servers": "tsc --build tsconfig.commonjs.json --watch --incremental",
|
|
|
"watch-extra": "cpx \"src/**/*.{scss,html,ico,jpg}\" lib/ --watch",
|
|
|
"watch-webpack": "webpack -w --mode development --stats minimal",
|
|
|
"watch-webpack-viewer": "webpack -w --mode development --stats minimal --config ./webpack.config.viewer.js",
|
|
|
"watch-webpack-viewer-debug": "webpack -w --mode development --stats minimal --config ./webpack.config.viewer.debug.js",
|
|
|
+ "watch-webpack-tm": "webpack -w --mode development --stats minimal --config ./webpack.config.tm-viewer.js",
|
|
|
"serve": "http-server -p 1338 -g",
|
|
|
"model-server": "node lib/commonjs/servers/model/server.js",
|
|
|
"model-server-watch": "nodemon --watch lib lib/commonjs/servers/model/server.js",
|