From 97255f3f580040f4213fe96c2596ae58e1394b8a Mon Sep 17 00:00:00 2001 From: chenshuai2144 Date: Mon, 24 Feb 2020 09:13:20 +0800 Subject: [PATCH] =?UTF-8?q?refactor=20=20=F0=9F=8E=A8=20:=20reduce=20unnec?= =?UTF-8?q?essary=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/package.json b/package.json index 620d6a69..f4daebdf 100644 --- a/package.json +++ b/package.json @@ -15,17 +15,16 @@ "docker:push": "npm run docker-hub:build && npm run docker:tag && docker push antdesign/ant-design-pro", "docker:tag": "docker tag ant-design-pro antdesign/ant-design-pro", "fetch:blocks": "pro fetch-blocks && npm run prettier", - "format-imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'", "functions:build": "netlify-lambda build ./lambda", "functions:run": "cross-env NODE_ENV=dev netlify-lambda serve ./lambda", "gh-pages": "cp CNAME ./dist/ && gh-pages -d dist", "i18n-remove": "pro i18n-remove --locale=zh-CN --write", "lint": "npm run lint:js && npm run lint:style && npm run lint:prettier", + "lint:prettier": "prettier --check \"**/*\"", "lint-staged": "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", - "lint:prettier": "check-prettier lint", "lint:style": "stylelint --fix \"src/**/*.less\" --syntax less", "prettier": "prettier -c --write \"**/*\"", "site": "npm run fetch:blocks && npm run build && npm run functions:build", @@ -94,17 +93,12 @@ "@types/react-helmet": "^5.0.13", "@umijs/fabric": "^2.0.2", "chalk": "^3.0.0", - "check-prettier": "^1.0.3", "cross-env": "^7.0.0", "cross-port-killer": "^1.1.1", "enzyme": "^3.9.0", "express": "^4.17.1", "gh-pages": "^2.0.1", "husky": "^4.0.7", - "import-sort-cli": "^6.0.0", - "import-sort-parser-babylon": "^6.0.0", - "import-sort-parser-typescript": "^6.0.0", - "import-sort-style-module": "^6.0.0", "jest-puppeteer": "^4.2.0", "jsdom-global": "^3.0.2", "lint-staged": "^10.0.0",