From b8e9d67d640387a1161dec2e74155e0bacd9bce4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Mon, 6 May 2019 19:21:12 +0800 Subject: [PATCH] remove script --- package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 246ef462..4200d715 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-pro", - "version": "2.3.1", + "version": "4.0.0", "private": true, "description": "An out-of-box UI solution for enterprise applications", "scripts": { @@ -20,10 +20,10 @@ "lint-staged": "lint-staged", "lint-staged:js": "eslint --ext .js", "lint-staged:ts": "tslint", - "lint:fix": "eslint --fix --ext .js src tests && stylelint --fix 'src/**/*.less' --syntax less", + "lint:fix": "eslint --fix --ext .js src tests && npm run lint:style && npm run tslint:fix", "lint:js": "eslint --ext .js src tests", "lint:prettier": "check-prettier lint", - "lint:style": "stylelint 'src/**/*.less' --syntax less", + "lint:style": "stylelint --fix 'src/**/*.less' --syntax less", "lint:ts": "tslint -p . -c tslint.yml", "prettier": "node ./scripts/prettier.js", "site": "umi build && npm run functions:build", @@ -32,7 +32,6 @@ "test": "umi test", "test:all": "node ./tests/run-tests.js", "test:component": "umi test ./src/components", - "tslint": "npm run tslint:fix", "tslint:fix": "tslint --fix 'src/**/*.ts*'" }, "husky": {