|
16 | 16 | "postinstall": "yarn run node14-patch", |
17 | 17 | "setup": "yarn install && yarn build-workspaces", |
18 | 18 | "static": "mkdir -p _static/js; mkdir -p _static/css; cp -r static/* _static", |
19 | | - "win-static": "xcopy static\\* _static /e /s /y /i& if not exist _static\\js mkdir _static\\js& if not exist _static\\css mkdir _static\\css", |
20 | 19 | "prebuild": "yarn run static && yarn run relay", |
21 | 20 | "predev": "yarn run static", |
22 | | - "predev-win-hsl": "yarn run win-static", |
23 | | - "predev-win-national": "yarn run win-static", |
24 | 21 | "dev": "bash -c \"trap 'pkill -QUIT -P $$ > /dev/null' EXIT; yarn run predev && yarn run relay-watch & NODE_ENV=development yarn nodemon -e js,css,scss,html --watch ./server/ --watch ./app/ server/server.js & NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=development yarn webpack-dev-server & yarn digitransit-watch-components\"", |
25 | | - "dev-win-hsl": "yarn predev-win-hsl && cd win-launch-scripts&& hsl-win-launch-script.bat", |
26 | | - "dev-win-national": "yarn predev-win-hsl && cd win-launch-scripts&& set CONFIG=&& national-win-launch-script.bat", |
27 | 22 | "dev-nowatch": "bash -c 'NODE_ENV=development node server/server.js & NODE_ENV=development webpack-dev-server'", |
28 | 23 | "test-accessibility": "./test/accessibility.sh", |
29 | 24 | "test-unit": "yarn test-unit:components && yarn test-unit:store && yarn test-unit:app", |
|
42 | 37 | "stylelint": "stylelint sass/**/*.scss app/**/*.scss digitransit-component/**/*.scss", |
43 | 38 | "build": "NODE_OPTIONS=--openssl-legacy-provider && NODE_ENV=production && yarn prebuild && node --max_old_space_size=4096 node_modules/.bin/webpack --progress --color", |
44 | 39 | "build-workspaces": "yarn build-components && yarn build-search-utils && yarn build-store", |
45 | | - "win-build": "set NODE_ENV=production&& webpack --progress --color", |
46 | 40 | "start": "NODE_ENV=production node $NODE_OPTS server/server", |
47 | 41 | "start-test": "NODE_ENV=test node $NODE_OPTS server/server", |
48 | | - "win-start": "set NODE_ENV=production&& set CONFIG=hsl&& node server/server.js", |
49 | 42 | "add-theme": "node build/add-theme", |
50 | 43 | "relay": "relay-compiler", |
51 | 44 | "relay-watch": "relay-compiler --watch", |
|
0 commit comments