diff --git a/package.json b/package.json index 7343897d2..d83bf27c1 100644 --- a/package.json +++ b/package.json @@ -18,8 +18,8 @@ "dev": "yarn run preBuild && cross-env PORT=5000 react-scripts start", "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 && cross-env PUBLIC_URL=/demo react-scripts --max_old_space_size=4096 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": "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", "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",