|
11 | 11 | "scripts": {
|
12 | 12 | "prebuild": "rimraf dist/*",
|
13 | 13 | "build": "run-script-os",
|
14 |
| - "build:default": "env-cmd -f ./automation/ts-node.env node --max_old_space_size=4096 node_modules/.bin/webpack --config ./automation/webpack.prod.ts", |
15 |
| - "build:windows": "env-cmd -f ./automation/ts-node.env node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config ./automation/webpack.prod.ts", |
| 14 | + "build:default": "env-cmd -f ./automation/ts-node.env.js node --max_old_space_size=4096 node_modules/.bin/webpack --config ./automation/webpack.prod.ts", |
| 15 | + "build:windows": "env-cmd -f ./automation/ts-node.env.js node --max_old_space_size=4096 node_modules/webpack/bin/webpack.js --config ./automation/webpack.prod.ts", |
16 | 16 | "bundle-stats": "npm-run-all bundle-stats:build bundle-stats:show",
|
17 | 17 | "bundle-stats:build": "run-script-os",
|
18 | 18 | "bundle-stats:build:default": "npm run build:default -- --no-devtool --profile --json | tail -n +14 > stats.json",
|
|
22 | 22 | "server:start": "cross-env OCLIF_TS_NODE=0 node .httptoolkit-server/httptoolkit-server/bin/run start",
|
23 | 23 | "start": "npm-run-all --parallel --print-label start:server start:web",
|
24 | 24 | "start:server": "npm-run-all server:setup server:start",
|
25 |
| - "start:web": "env-cmd -f ./automation/ts-node.env webpack-dev-server --config ./automation/webpack.dev.ts", |
| 25 | + "start:web": "env-cmd -f ./automation/ts-node.env.js webpack-dev-server --config ./automation/webpack.dev.ts", |
26 | 26 | "start:prod": "npm-run-all build start:prod:webserver",
|
27 | 27 | "start:prod:webserver": "static-server ./dist -o",
|
28 | 28 | "test": "npm-run-all test:unit test:integration",
|
29 |
| - "test:unit": "env-cmd -f ./automation/ts-node.env karma start ./test/unit/karma.conf.js", |
| 29 | + "test:unit": "env-cmd -f ./automation/ts-node.env.js karma start ./test/unit/karma.conf.js", |
30 | 30 | "test:unit:dev": "npm run test:unit -- --single-run=false --auto-watch",
|
31 | 31 | "test:unit:debug": "npm run test:unit -- --single-run=false --browsers Chrome",
|
32 | 32 | "test:integration": "npm-run-all server:setup build test:integration:run",
|
|
0 commit comments