Commit 3b513a65 authored by afc163's avatar afc163

Fix APP_TYPE error in windows, close #2126

parent b7977187
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
"scripts": { "scripts": {
"precommit": "npm run lint-staged", "precommit": "npm run lint-staged",
"presite": "npm run generate-mock && cd functions && npm install", "presite": "npm run generate-mock && cd functions && npm install",
"start": "APP_TYPE=site umi dev", "start": "cross-env APP_TYPE=site umi dev",
"start:no-mock": "cross-env MOCK=none umi dev", "start:no-mock": "cross-env MOCK=none umi dev",
"build": "umi build", "build": "umi build",
"site": "npm run presite &&APP_TYPE=site npm run build && firebase deploy", "site": "npm run presite && cross-env APP_TYPE=site npm run build && firebase deploy",
"analyze": "cross-env ANALYZE=1 umi build", "analyze": "cross-env ANALYZE=1 umi build",
"lint:style": "stylelint \"src/**/*.less\" --syntax less", "lint:style": "stylelint \"src/**/*.less\" --syntax less",
"lint": "eslint --ext .js src mock tests && npm run lint:style", "lint": "eslint --ext .js src mock tests && npm run lint:style",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment