From 6faf0a8967282e3151bca398f326d6fcce172bff Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Wed, 25 Oct 2023 15:01:19 +0800
Subject: [PATCH] fix:无人机搜索修改
---
package.json | 24 ++++++++++++++++++++----
1 files changed, 20 insertions(+), 4 deletions(-)
diff --git a/package.json b/package.json
index 0039fd1..fd246cd 100644
--- a/package.json
+++ b/package.json
@@ -9,7 +9,8 @@
"build:prod": "vue-cli-service build",
"build:stage": "vue-cli-service build --mode staging",
"preview": "node build/index.js --preview",
- "lint": "eslint --ext .js,.vue src",
+ "lint": "eslint . --ext .vue,.js,.ts,.jsx,.tsx --fix",
+ "lint-repair": "eslint --fix --ext .js --ext .vue client/",
"test:unit": "jest --clearCache && vue-cli-service test:unit",
"test:ci": "npm run lint && npm run test:unit",
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml"
@@ -35,6 +36,7 @@
"leaflet-velocity": "^1.7.0",
"less": "^4.1.1",
"less-loader": "^6.2.0",
+ "lodash": "^4.17.21",
"moment": "^2.29.4",
"node-sass": "^4.14.1",
"normalize.css": "7.0.0",
@@ -58,6 +60,8 @@
},
"devDependencies": {
"@babel/core": "7.0.0",
+ "@babel/eslint-parser": "^7.16.5",
+ "@babel/plugin-proposal-optional-chaining": "^7.21.0",
"@babel/register": "7.0.0",
"@vue/cli-plugin-babel": "3.6.0",
"@vue/cli-plugin-eslint": "3.6.0",
@@ -70,8 +74,16 @@
"babel-jest": "23.6.0",
"chalk": "2.4.2",
"connect": "3.6.6",
- "eslint": "5.15.3",
- "eslint-plugin-vue": "^5.2.2",
+ "eslint": "^5.16.0",
+ "eslint-config-standard": "^10.2.1",
+ "eslint-friendly-formatter": "^3.0.0",
+ "eslint-loader": "^1.7.1",
+ "eslint-plugin-html": "^6.2.0",
+ "eslint-plugin-import": "^2.28.1",
+ "eslint-plugin-node": "^5.2.1",
+ "eslint-plugin-promise": "^3.8.0",
+ "eslint-plugin-standard": "^3.1.0",
+ "eslint-plugin-vue": "^5.2.3",
"html-webpack-plugin": "3.2.0",
"mockjs": "1.0.1-beta3",
"runjs": "^4.3.2",
@@ -90,5 +102,9 @@
"browserslist": [
"> 1%",
"last 2 versions"
+ ],
+ "nohoist": [
+ "**/@vue/cli-plugin-eslint",
+ "**/@vue/cli-plugin-eslint/**"
]
-}
+}
\ No newline at end of file
--
Gitblit v1.8.0