chore(ci/cd): refine scripts and docs (#36)
* chore(ci/cd): refine scripts and docs * text(server): fix incorrect server port
This commit is contained in:
parent
e87a342c93
commit
ede6c239f0
23 changed files with 81 additions and 296 deletions
|
@ -4,13 +4,6 @@
|
|||
"src/client/web"
|
||||
],
|
||||
"scripts": {
|
||||
"dev:setup": "yarn && yarn dev:copy-immutable && yarn dev:copy-react-dom && yarn dev:copy-react",
|
||||
"dev:copy-immutable": "cp node_modules/immutable/dist/immutable.min.js public/static/js/",
|
||||
"dev:copy-react-dom": "cp node_modules/react-dom/umd/react-dom.development.js public/static/js/",
|
||||
"dev:copy-react": "cp node_modules/react/umd/react.development.js public/static/js/",
|
||||
"prod:setup": "yarn && yarn prod:copy-immutable && yarn prod:copy-react-dom && yarn prod:copy-react",
|
||||
"prod:copy-immutable": "cp node_modules/immutable/dist/immutable.min.js public/static/js/",
|
||||
"prod:copy-react-dom": "cp node_modules/react-dom/umd/react-dom.production.min.js public/static/js/",
|
||||
"prod:copy-react": "cp node_modules/react/umd/react.production.min.js public/static/js/"
|
||||
"build": "scripts/build"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue