]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - package.json
fix remaining eslint warnings
[nominatim-ui.git] / package.json
index 9c4ac6997d42ab1736a0d7554ac8690795af2d88..c9d84853aabdfcabe2d857bb02d9bccea1003f5b 100644 (file)
@@ -4,7 +4,8 @@
   "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",
     "@ungap/url-search-params": "0.1.4",
     "bootstrap": "3.4.1",
     "bower": "^1.8",
+    "eslint": "^6.8.0",
+    "eslint-config-airbnb-base": "^14.0.0",
+    "eslint-plugin-import": "^2.20.1",
     "grunt": "^1.0.2",
-    "handlebars": "4.5.3",
+    "handlebars": "4.7.3",
     "jquery": "3.4.1",
     "leaflet": "1.6.0",
     "leaflet-minimap": "3.6.1"
-  }
+  },
+  "dependencies": {}
 }