From f0e0e44af4aa9fd8af45fc46f4b09b0f26dc0662 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Thu, 23 Jul 2020 09:25:05 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20clean:=20clean=20package.json=20?= =?UTF-8?q?(#7062)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 🔥 clean: clean package.json * up version --- package.json | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 4ee4118c..f491d9d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ant-design-pro", - "version": "4.1.0", + "version": "4.2.0", "private": true, "description": "An out-of-box UI solution for enterprise applications", "scripts": { @@ -20,7 +20,7 @@ "i18n-remove": "pro i18n-remove --locale=zh-CN --write", "lint": "umi g tmp && npm run lint:js && npm run lint:style && npm run lint:prettier", "lint:prettier": "prettier --check \"**/*\" --end-of-line auto", - "lint-staged": "lint-staged", + "precommit": "lint-staged", "lint-staged:js": "eslint --ext .js,.jsx,.ts,.tsx ", "lint:fix": "eslint --fix --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src && npm run lint:style", "lint:js": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src", @@ -40,11 +40,6 @@ "test:component": "umi test ./src/components", "tsc": "tsc" }, - "husky": { - "hooks": { - "pre-commit": "npm run lint-staged" - } - }, "lint-staged": { "**/*.less": "stylelint --syntax less", "**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js", @@ -91,6 +86,7 @@ "@umijs/preset-ant-design-pro": "^1.2.0", "@umijs/preset-react": "^1.4.8", "@umijs/preset-ui": "^2.0.9", + "@umijs/yorkie": "^2.0.3", "carlo": "^0.9.46", "chalk": "^4.0.0", "cross-env": "^7.0.0", @@ -100,7 +96,6 @@ "eslint": "^7.1.0", "express": "^4.17.1", "gh-pages": "^3.0.0", - "husky": "^4.0.7", "jsdom-global": "^3.0.2", "lint-staged": "^10.0.0", "mockjs": "^1.0.1-beta3",