mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Webatrice: improve prebuild steps and add .env configs (#4564)
* create .env file for server configuration * render client version * automate env file * add prestart command * create server-props.json instead of using .env * automate master proto file Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
parent
408a13c937
commit
88b861d632
15 changed files with 119 additions and 21175 deletions
|
|
@ -33,12 +33,11 @@
|
|||
"typescript": "^4.4.4"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "run-script-os",
|
||||
"postinstall:windows": "powershell .\\copy_shared_files.ps1",
|
||||
"postinstall:default": "./copy_shared_files.sh",
|
||||
"start": "cross-env ESLINT_NO_DEV_ERRORS=true react-scripts start",
|
||||
"build": "cross-env DISABLE_ESLINT_PLUGIN=true react-scripts build",
|
||||
"test": "cross-env CI=true react-scripts test",
|
||||
"prebuild": "node prebuild.js",
|
||||
"prestart": "node prebuild.js",
|
||||
"build": "react-scripts build",
|
||||
"start": "react-scripts start",
|
||||
"test": "react-scripts test",
|
||||
"test:watch": "react-scripts test",
|
||||
"eject": "react-scripts eject",
|
||||
"lint": "eslint \"./**/*.{ts,tsx}\"",
|
||||
|
|
@ -82,9 +81,8 @@
|
|||
"@types/redux-form": "^8.3.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.3.1",
|
||||
"@typescript-eslint/parser": "^5.3.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^7.32.0",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"run-script-os": "^1.1.6"
|
||||
"fs-extra": "^10.0.0",
|
||||
"identity-obj-proxy": "^3.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue