浏览代码

chore: remove unused

poeti8 6 年之前
父节点
当前提交
edac550441
共有 3 个文件被更改,包括 458 次插入238 次删除
  1. 2 4
      .babelrc
  2. 455 223
      package-lock.json
  3. 1 11
      package.json

+ 2 - 4
.babelrc

@@ -1,12 +1,10 @@
 {
-  "presets": ["next/babel", "@zeit/next-typescript/babel"],
+  "presets": ["next/babel"],
   "plugins": [
     [
       "styled-components",
       { "ssr": true, "displayName": true, "preprocess": false }
     ],
-    "inline-react-svg",
-    "@babel/plugin-proposal-optional-chaining",
-    "@babel/plugin-proposal-nullish-coalescing-operator"
+    "inline-react-svg"
   ]
 }

文件差异内容过多而无法显示
+ 455 - 223
package-lock.json


+ 1 - 11
package.json

@@ -55,9 +55,7 @@
     "ms": "^2.1.1",
     "nanoid": "^1.3.4",
     "neo4j-driver": "^1.7.5",
-    "next": "^9.1.4",
-    "next-images": "^1.2.0",
-    "next-redux-wrapper": "^2.1.0",
+    "next": "^9.1.7",
     "node-cron": "^2.0.3",
     "nodemailer": "^6.3.0",
     "p-queue": "^6.1.1",
@@ -76,15 +74,11 @@
     "react-dom": "^16.8.1",
     "react-ga": "^2.5.7",
     "react-inlinesvg": "^1.2.0",
-    "react-redux": "^6.0.0",
     "react-tippy": "^1.3.1",
     "react-tooltip": "^3.11.1",
     "react-use-form-state": "^0.12.0",
     "recharts": "^1.4.3",
     "redis": "^2.8.0",
-    "redux": "^4.0.1",
-    "redux-devtools-extension": "^2.13.8",
-    "redux-thunk": "^2.3.0",
     "reflexbox": "^4.0.6",
     "styled-components": "^4.4.1",
     "styled-tools": "^1.7.1",
@@ -98,8 +92,6 @@
     "@babel/cli": "^7.2.3",
     "@babel/core": "^7.2.2",
     "@babel/node": "^7.2.2",
-    "@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
-    "@babel/plugin-proposal-optional-chaining": "^7.7.5",
     "@babel/preset-env": "^7.3.1",
     "@babel/register": "^7.0.0",
     "@types/bcryptjs": "^2.4.2",
@@ -130,7 +122,6 @@
     "@types/styled-components": "^4.1.8",
     "@typescript-eslint/eslint-plugin": "^2.0.0",
     "@typescript-eslint/parser": "^2.0.0",
-    "@zeit/next-typescript": "^1.1.1",
     "babel": "^6.23.0",
     "babel-cli": "^6.26.0",
     "babel-core": "^6.26.3",
@@ -152,7 +143,6 @@
     "nock": "^9.3.3",
     "nodemon": "^1.18.10",
     "prettier": "^1.19.1",
-    "redux-mock-store": "^1.5.3",
     "rimraf": "^3.0.0",
     "sinon": "^6.0.0",
     "typescript": "^3.7.3"

部分文件因为文件数量过多而无法显示