Be a bit more explicit with homepage url

This commit is contained in:
dannyrb 2019-04-29 09:50:31 -04:00
parent c9b043420b
commit e43139eec5

View File

@ -9,6 +9,7 @@
"browser": "dist/index.umd.js",
"module": "dist/index.es.js",
"jsnext:main": "dist/index.es.js",
"homepage": "https://deploy-preview-408--ohif.netlify.com/demo",
"engines": {
"node": ">=8",
"npm": ">=5"
@ -19,7 +20,7 @@
"dev:debug": "cross-env PORT=5000 react-scripts start",
"build:package": "yarn run preBuild && node --max-old-space-size=4096 node_modules/rollup/bin/rollup -c",
"build:web": "yarn run preBuild && react-scripts build",
"build:web:ci": "yarn run preBuild && cross-env PUBLIC_URL=/demo react-scripts --max_old_space_size=4096 build && cpx 'build/**/*' docs/latest/_book/demo --verbose",
"build:web:ci": "yarn run preBuild && cross-env PUBLIC_URL=https://deploy-preview-408--ohif.netlify.com/demo react-scripts --max_old_space_size=4096 build && cpx 'build/**/*' docs/latest/_book/demo --verbose",
"lint": "eslint -c .eslintrc --fix src && prettier --single-quote --write src/**/*.{js,jsx,json,css}",
"test": "jest",
"test:ci": "jest --ci --runInBand --collectCoverage --reporters=default --reporters=jest-junit && codecov",