build: add release build script
This commit is contained in:
+2
-1
@@ -94,7 +94,8 @@
|
||||
"scripts": {
|
||||
"start": "REACT_APP_BUILD_TIME=$(date +%s) node scripts/start.js",
|
||||
"build": "rm -rf build && REACT_APP_BUILD_TIME=$(date +%s) GENERATE_SOURCEMAP=false node scripts/build.js",
|
||||
"deploy": "yarn build && gh-pages -d build",
|
||||
"build:release": "rm -rf build && REACT_APP_BUILD_TIME=$(date +%s) REACT_APP_RELEASE=true GENERATE_SOURCEMAP=false node scripts/build.js",
|
||||
"deploy:demo": "yarn build && gh-pages -d build",
|
||||
"lint": "lint-staged",
|
||||
"prepare": "husky install",
|
||||
"postinstall": "patch-package"
|
||||
|
||||
Reference in New Issue
Block a user