From eec4ac136aede9fc2b5cfb0f07c59a2962fb5917 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=B8=85?= Date: Wed, 22 May 2019 17:25:13 +0800 Subject: [PATCH] sort package.json --- package.json | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index d4b7f5f8..d33abe5f 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "docker:dev": "docker-compose -f ./docker/docker-compose.dev.yml up", "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": "node ./script/fetch-block.js", "functions:build": "npm run generateMock && netlify-lambda build ./lambda", "functions:run": "npm run generateMock && cross-env NODE_ENV=dev netlify-lambda serve ./lambda", "generateMock": "node ./scripts/generateMock", @@ -26,7 +27,7 @@ "lint:style": "stylelint --fix 'src/**/*.less' --syntax less", "lint:ts": "tslint -p . -c tslint.yml", "prettier": " check-prettier write", - "site": "node ./script/fetch-block.js && umi build && npm run functions:build", + "site": "npm run fetch:blocks && umi build && npm run functions:build", "start": "umi dev", "start:no-mock": "cross-env MOCK=none umi dev", "test": "umi test", @@ -57,31 +58,22 @@ "@ant-design/pro-layout": "^4.2.0", "@antv/data-set": "^0.10.1", "antd": "^3.16.1", - "bizcharts": "^3.5.3-beta.0", - "bizcharts-plugin-slider": "^2.1.1-beta.1", "classnames": "^2.2.6", "dva": "^2.4.0", - "gg-editor": "^2.0.4", - "hash.js": "^1.1.7", "lodash": "^4.17.10", "lodash-decorators": "^6.0.0", "memoize-one": "^5.0.0", "moment": "^2.22.2", - "node-fetch": "^2.6.0", - "numeral": "^2.0.6", - "nzh": "^1.0.4", "omit.js": "^1.0.0", "path-to-regexp": "^2.4.0", "prop-types": "^15.7.2", "qs": "^6.7.0", - "query-string": "^6.5.0", "rc-animate": "^2.4.4", "react": "^16.8.5", "react-container-query": "^0.11.0", "react-copy-to-clipboard": "^5.0.1", "react-document-title": "^2.0.3", "react-dom": "^16.7.0", - "react-fittext": "^1.0.0", "react-media": "^1.9.2", "react-media-hook2": "^1.0.2", "umi": "^2.7.0-beta.2", @@ -125,6 +117,7 @@ "merge-umi-mock-data": "^1.0.4", "mockjs": "^1.0.1-beta3", "netlify-lambda": "^1.4.3", + "node-fetch": "^2.6.0", "prettier": "^1.17.0", "serverless-http": "^2.0.1", "slash2": "^2.0.0", -- GitLab