mirror of
https://gitee.com/san-bing/JChargePointProtocol
synced 2026-05-05 10:29:56 +08:00
兼容windows的npm编译方案
This commit is contained in:
@@ -20,9 +20,9 @@
|
||||
"typescript": "^4.9.5"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "GENERATE_SOURCEMAP=false react-scripts start",
|
||||
"build": "GENERATE_SOURCEMAP=false REACT_APP_ENV=development react-scripts build",
|
||||
"build:prod": "GENERATE_SOURCEMAP=false REACT_APP_ENV=production react-scripts build",
|
||||
"start": "cross-env GENERATE_SOURCEMAP=false react-scripts start",
|
||||
"build": "cross-env GENERATE_SOURCEMAP=false REACT_APP_ENV=development react-scripts build",
|
||||
"build:prod": "cross-env GENERATE_SOURCEMAP=false REACT_APP_ENV=production react-scripts build",
|
||||
"eject": "react-scripts eject"
|
||||
},
|
||||
"eslintConfig": {
|
||||
@@ -41,5 +41,8 @@
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"devDependencies": {
|
||||
"cross-env": "^10.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user