chore: optimize workflows to avoid building components each time
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
"scripts": {
|
||||
"analyze": "source-map-explorer 'build/static/js/*.js'",
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"compile": "react-scripts build",
|
||||
"prepublishOnly": "npm run build",
|
||||
"clean-deploy-cache": "rm -rf node_modules/.cache/gh-pages",
|
||||
"predeploy": "yarn run pretty && yarn run build && yarn clean-deploy-cache",
|
||||
@@ -29,7 +29,7 @@
|
||||
"server-public": "http-server -p 3000 --cors",
|
||||
"server-root": "http-server ./ -p 3000 --cors",
|
||||
"server": "http-server ./build -p 3000 --cors",
|
||||
"lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
|
||||
"compile:lint": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
|
||||
Reference in New Issue
Block a user