diff --git a/package.json b/package.json index 544de3d132fb0aa0e3e3cecb8ba44759aac615dc..75d84303f8d3997323bee0c1b2990bb095271f65 100644 --- a/package.json +++ b/package.json @@ -6,10 +6,10 @@ "scripts": { "precommit": "npm run lint-staged", "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", "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", "lint:style": "stylelint \"src/**/*.less\" --syntax less", "lint": "eslint --ext .js src mock tests && npm run lint:style",