|
@@ -16,7 +16,7 @@
|
|
|
"test": "npm run lint && jest",
|
|
|
"build": "npm run build-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": "tsc --incremental && tsc --build tsconfig.servers.json --incremental",
|
|
|
+ "build-tsc": "concurrently \"tsc --incremental\" \"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",
|
|
@@ -24,16 +24,16 @@
|
|
|
"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-tsc": "tsc --watch --incremental",
|
|
|
- "watch-servers": "tsc --build tsconfig.servers.json --watch --incremental",
|
|
|
+ "watch-servers": "tsc --build tsconfig.commonjs.json --watch --incremental",
|
|
|
"watch-extra": "cpx \"src/**/*.{scss,html,ico}\" lib/ --watch",
|
|
|
"watch-webpack": "webpack -w --mode development --display minimal",
|
|
|
"watch-webpack-viewer": "webpack -w --mode development --display errors-only --info-verbosity verbose --config ./webpack.config.viewer.js",
|
|
|
"watch-webpack-viewer-debug": "webpack -w --mode development --display errors-only --info-verbosity verbose --config ./webpack.config.viewer.debug.js",
|
|
|
"serve": "http-server -p 1338",
|
|
|
- "model-server": "node lib/servers/servers/model/server.js",
|
|
|
- "model-server-watch": "nodemon --watch lib lib/servers/servers/model/server.js",
|
|
|
- "volume-server-test": "node lib/servers/servers/volume/server.js --idMap em 'test/${id}.mdb' --defaultPort 1336",
|
|
|
- "plugin-state": "node lib/servers/servers/plugin-state/index.js",
|
|
|
+ "model-server": "node lib/commonjs/servers/model/server.js",
|
|
|
+ "model-server-watch": "nodemon --watch lib lib/commonjs/servers/model/server.js",
|
|
|
+ "volume-server-test": "node lib/commonjs/servers/volume/server.js --idMap em 'test/${id}.mdb' --defaultPort 1336",
|
|
|
+ "plugin-state": "node lib/commonjs/servers/plugin-state/index.js",
|
|
|
"preversion": "npm run test",
|
|
|
"version": "npm run build",
|
|
|
"postversion": "git push && git push --tags"
|
|
@@ -45,12 +45,12 @@
|
|
|
"bin": {
|
|
|
"cif2bcif": "lib/cli/cif2bcif/index.js",
|
|
|
"cifschema": "lib/cli/cifschema/index.js",
|
|
|
- "model-server": "lib/servers/servers/model/server.js",
|
|
|
- "model-server-query": "lib/servers/servers/model/query.js",
|
|
|
- "model-server-preprocess": "lib/servers/servers/model/preprocess.js",
|
|
|
- "volume-server": "lib/servers/servers/volume/server.js",
|
|
|
- "volume-server-query": "lib/servers/servers/volume/query.js",
|
|
|
- "volume-server-pack": "lib/servers/servers/volume/pack.js"
|
|
|
+ "model-server": "lib/commonjs/servers/model/server.js",
|
|
|
+ "model-server-query": "lib/commonjs/servers/model/query.js",
|
|
|
+ "model-server-preprocess": "lib/commonjs/servers/model/preprocess.js",
|
|
|
+ "volume-server": "lib/commonjs/servers/volume/server.js",
|
|
|
+ "volume-server-query": "lib/commonjs/servers/volume/query.js",
|
|
|
+ "volume-server-pack": "lib/commonjs/servers/volume/pack.js"
|
|
|
},
|
|
|
"nodemonConfig": {
|
|
|
"ignoreRoot": [
|