diff --git a/.scripts/dev.sh b/.scripts/dev.sh index 011a77ff5..ba4ef9b92 100644 --- a/.scripts/dev.sh +++ b/.scripts/dev.sh @@ -1,4 +1,6 @@ #!/bin/bash +# https://github.com/shelljs/shelljs +# https://github.com/shelljs/shelljs#exclude-options PROJECT=$1 if [ -z "$PROJECT" ] diff --git a/package.json b/package.json index f092efb65..255eb85aa 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/platform/viewer/package.json b/platform/viewer/package.json index 551551882..12effb126 100644 --- a/platform/viewer/package.json +++ b/platform/viewer/package.json @@ -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": {