]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - package.json
fix remaining eslint warnings
[nominatim-ui.git] / package.json
index c147c894fe6a9dd21289f432dd816c52767fb59a..c9d84853aabdfcabe2d857bb02d9bccea1003f5b 100644 (file)
@@ -4,18 +4,23 @@
   "description": "",
   "main": "index.js",
   "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "test": "echo \"Error: no test specified\" && exit 1",
+    "lint": "node node_modules/.bin/eslint --quiet src/handlebar_helpers.js dist/assets/js/nominatim-ui.js"
   },
   "author": "",
   "license": "GPL-3.0",
   "devDependencies": {
-    "grunt": "^1.0.2",
+    "@ungap/url-search-params": "0.1.4",
+    "bootstrap": "3.4.1",
     "bower": "^1.8",
-    "jquery": "3.4.0",
-    "leaflet": "1.3.1",
-    "leaflet-minimap": "3.6.1",
-    "handlebars": "4.0.11",
-    "bootstrap": "3.3.5",
-    "@ungap/url-search-params": "0.1.4"
-  }
+    "eslint": "^6.8.0",
+    "eslint-config-airbnb-base": "^14.0.0",
+    "eslint-plugin-import": "^2.20.1",
+    "grunt": "^1.0.2",
+    "handlebars": "4.7.3",
+    "jquery": "3.4.1",
+    "leaflet": "1.6.0",
+    "leaflet-minimap": "3.6.1"
+  },
+  "dependencies": {}
 }