diff --git a/package.json b/package.json index 99f885f3d5e5c197687df3d0c4b7f968c06c3ea2..fb246c9a3b69184245ae30683b30051024be75f1 100755 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "scripts": { "precommit": "npm run lint-staged", "presite": "npm run generate-mock && cd functions && npm install", - "start": "umi dev", - "start:no-mock": "cross-env MOCK=none umi dev", - "build": "umi build", + "start": "cross-env ESLINT=none umi dev", + "start:no-mock": "cross-env MOCK=none ESLINT=none umi dev", + "build": "cross-env ESLINT=none umi build", "site": "npm run presite && npm run build && firebase deploy", "analyze": "cross-env ANALYZE=1 umi build", "lint:style": "stylelint \"src/**/*.less\" --syntax less",