From 4bc5c8a0d935b9a147704f436673d08402bffe89 Mon Sep 17 00:00:00 2001 From: Fritz Lin Date: Mon, 8 Aug 2022 21:10:33 +0800 Subject: [PATCH] remove unnecessary files & dependencies --- .babelrc | 39 --------------------------------------- package.json | 33 ++------------------------------- 2 files changed, 2 insertions(+), 70 deletions(-) delete mode 100644 .babelrc diff --git a/.babelrc b/.babelrc deleted file mode 100644 index e10f6de..0000000 --- a/.babelrc +++ /dev/null @@ -1,39 +0,0 @@ -{ - "presets": [ - "minify", - [ - "@babel/preset-env", - { - "modules": false - } - ] - ], - "plugins": [ - "@babel/plugin-syntax-dynamic-import", - "@babel/plugin-syntax-import-meta", - "@babel/plugin-proposal-class-properties", - "@babel/plugin-proposal-json-strings", - [ - "@babel/plugin-proposal-decorators", - { - "legacy": true - } - ], - "@babel/plugin-proposal-function-sent", - "@babel/plugin-proposal-export-namespace-from", - "@babel/plugin-proposal-numeric-separator", - "@babel/plugin-proposal-throw-expressions", - "@babel/plugin-proposal-export-default-from", - "@babel/plugin-proposal-logical-assignment-operators", - "@babel/plugin-proposal-optional-chaining", - [ - "@babel/plugin-proposal-pipeline-operator", - { - "proposal": "minimal" - } - ], - "@babel/plugin-proposal-nullish-coalescing-operator", - "@babel/plugin-proposal-do-expressions", - "@babel/plugin-proposal-function-bind" - ] -} diff --git a/package.json b/package.json index 6d7e5e2..2506845 100644 --- a/package.json +++ b/package.json @@ -14,51 +14,22 @@ }, "main": "dist/vue-at.js", "engines": { - "node": "14.x" + "node": ">= 14.x" }, "peerDependencies": { "vue": "3.x" }, "devDependencies": { "@babel/core": "^7.18.9", - "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-decorators": "^7.18.9", - "@babel/plugin-proposal-do-expressions": "^7.18.6", - "@babel/plugin-proposal-export-default-from": "^7.18.9", - "@babel/plugin-proposal-export-namespace-from": "^7.18.9", - "@babel/plugin-proposal-function-bind": "^7.18.9", - "@babel/plugin-proposal-function-sent": "^7.18.6", - "@babel/plugin-proposal-json-strings": "^7.18.6", - "@babel/plugin-proposal-logical-assignment-operators": "^7.18.9", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.18.6", - "@babel/plugin-proposal-numeric-separator": "^7.18.6", - "@babel/plugin-proposal-optional-chaining": "^7.18.9", - "@babel/plugin-proposal-pipeline-operator": "^7.18.9", - "@babel/plugin-proposal-throw-expressions": "^7.18.6", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/preset-env": "^7.18.9", "@vue/cli-service": "^5.0.8", "@vue/compat": "^3.1.0", "@vue/compiler-sfc": "^3.1.0", - "babel-loader": "^8.2.5", - "babel-preset-minify": "^0.5.2", - "cross-env": "^7.0.3", - "css-loader": "^0.28.11", - "file-loader": "^6.2.0", "npm-run-all": "^4.1.5", "rimraf": "^3.0.2", "sass": "^1.53.0", "sass-loader": "^13.0.2", - "style-loader": "^3.3.1", - "style-resources-loader": "^1.5.0", - "terser-webpack-plugin": "^5.3.3", - "url-loader": "^4.1.1", "vue": "^3.1.0", "vue-loader": "^16.0.0", - "vue-style-loader": "^4.1.3", - "webpack": "^5.73.0", - "webpack-cli": "^4.10.0", - "webpack-dev-server": "^3.11.0" + "webpack": "^5.73.0" } }