]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - package.json
max line length for javascript = 100
[nominatim-ui.git] / package.json
index 9c4ac6997d42ab1736a0d7554ac8690795af2d88..8e9a16b9c0a341df902af34005c0cd151161d01c 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 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": {}
 }