Simplify build

This commit is contained in:
dannyrb 2019-08-07 23:04:00 -04:00
parent b8045caeea
commit 1771bca366
3 changed files with 5 additions and 6 deletions

View File

@ -20,7 +20,7 @@
"test:unit:ci": "lerna run test:unit:ci --parallel",
"test:e2e:ci": "cd platform/viewer && yarn run test:e2e:ci",
"see-changed": "lerna changed",
"release": "lerna publish --canary --dist-tag canary"
"release": "npx lerna version prerelease --force-publish && lerna publish --canary --dist-tag canary"
},
"devDependencies": {
"@babel/core": "^7.5.0",

View File

@ -21,11 +21,9 @@
"build:demo:ci": "yarn run preBuild && cross-env PUBLIC_URL=/ REACT_APP_CONFIG=config/demo.js react-scripts --max_old_space_size=4096 build",
"test:e2e:ci": "start-server-and-test start http://localhost:5000 cy:run:ci",
"start": "yarn run dev",
"predeploy": "cd example && npm install && yarn run build:package",
"preBuild": "yarn run version && yarn run copy:webworkers",
"preBuild": "yarn run copy:webworkers",
"orthanc:up": "docker-compose -f docker/Nginx-Orthanc/docker-compose.yml up",
"dev:orthanc": "yarn run preBuild && cross-env REACT_APP_CONFIG=config/docker_nginx-orthanc.js react-scripts start",
"version": "node -p -e \"'export default \\'' + require('./package.json').version + '\\';'\" > src/version.js",
"copy:webworkers": "cpx \"node_modules/cornerstone-wado-image-loader/dist/*.min.js*\" \"public\" -v",
"cy": "cypress open",
"cy:run": "cypress run",
@ -39,7 +37,8 @@
"caniuse-lite": "1.0.30000974"
},
"files": [
"dist"
"dist",
"README.md"
],
"config": {
"commitizen": {

View File

@ -1 +1 @@
export default '0.0.21';
export default '0.0.22-alpha.5';