Simplify build
This commit is contained in:
parent
b8045caeea
commit
1771bca366
@ -20,7 +20,7 @@
|
|||||||
"test:unit:ci": "lerna run test:unit:ci --parallel",
|
"test:unit:ci": "lerna run test:unit:ci --parallel",
|
||||||
"test:e2e:ci": "cd platform/viewer && yarn run test:e2e:ci",
|
"test:e2e:ci": "cd platform/viewer && yarn run test:e2e:ci",
|
||||||
"see-changed": "lerna changed",
|
"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": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.5.0",
|
"@babel/core": "^7.5.0",
|
||||||
|
|||||||
@ -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",
|
"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",
|
"test:e2e:ci": "start-server-and-test start http://localhost:5000 cy:run:ci",
|
||||||
"start": "yarn run dev",
|
"start": "yarn run dev",
|
||||||
"predeploy": "cd example && npm install && yarn run build:package",
|
"preBuild": "yarn run copy:webworkers",
|
||||||
"preBuild": "yarn run version && yarn run copy:webworkers",
|
|
||||||
"orthanc:up": "docker-compose -f docker/Nginx-Orthanc/docker-compose.yml up",
|
"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",
|
"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",
|
"copy:webworkers": "cpx \"node_modules/cornerstone-wado-image-loader/dist/*.min.js*\" \"public\" -v",
|
||||||
"cy": "cypress open",
|
"cy": "cypress open",
|
||||||
"cy:run": "cypress run",
|
"cy:run": "cypress run",
|
||||||
@ -39,7 +37,8 @@
|
|||||||
"caniuse-lite": "1.0.30000974"
|
"caniuse-lite": "1.0.30000974"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"dist"
|
"dist",
|
||||||
|
"README.md"
|
||||||
],
|
],
|
||||||
"config": {
|
"config": {
|
||||||
"commitizen": {
|
"commitizen": {
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
export default '0.0.21';
|
export default '0.0.22-alpha.5';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user