Shift build command; satisfy default PWA build

This commit is contained in:
dannyrb 2019-08-05 23:26:28 -04:00
parent b081e73297
commit 7db3bde95a
3 changed files with 4 additions and 5 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash
# https://github.com/shelljs/shelljs
# https://github.com/shelljs/shelljs#exclude-options
PROJECT=$1
if [ -z "$PROJECT" ]

View File

@ -13,11 +13,8 @@
"scripts": {
"cm": "npx git-cz",
"dev": ".scripts/dev.sh",
"dev:core": "",
"dev:ui": "",
"build": "",
"build": "lerna run build:viewer",
"build:package": "lerna run build:package --parallel",
"build:pwa:ci": "",
"test:unit": "jest --collectCoverage",
"test:unit:ci": "lerna run test:unit:ci --parallel",
"test:e2e:ci": "cd platform/viewer && yarn run test:e2e:ci",

View File

@ -16,7 +16,6 @@
},
"proxy": "http://localhost:8042",
"scripts": {
"build:package": "webpack --config config/webpack.prod.js",
"test:unit": "jest --watch",
"test:unit:ci": "jest --ci --runInBand --collectCoverage",
"dev": "yarn run preBuild && react-scripts start",
@ -34,6 +33,7 @@
"cy": "cypress open",
"cy:run": "cypress run",
"cy:run:ci": "yarn run cy:run -- --record",
"build:viewer": "webpack --config config/webpack.prod.js",
"dev:viewer": "cross-env NODE_ENV=development webpack-dev-server --config config/webpack.dev.js --mode development -w -d"
},
"resolutions": {