]> git.openstreetmap.org Git - nominatim-ui.git/blobdiff - package.json
new yarn start/build commands
[nominatim-ui.git] / package.json
index 982e52db4304e53d30974d6deef0afb2590a0936..b3ef07a5ab4d92731031488bdf8da89c95ad2e86 100644 (file)
@@ -4,18 +4,25 @@
   "description": "",
   "main": "index.js",
   "scripts": {
-    "test": "echo \"Error: no test specified\" && exit 1"
+    "start": "./node_modules/.bin/static -c 0 -p 8000 dist",
+    "build": "./build.sh",
+    "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",
-    "bower": "^1.8",
-    "jquery": "3.4.0",
-    "leaflet": "1.3.1",
-    "leaflet-minimap": "3.6.1",
-    "handlebars": "4.1.2",
-    "bootstrap": "3.4.1",
-    "@ungap/url-search-params": "0.1.4"
+    "@ungap/url-search-params": "^0.2.0",
+    "bootstrap": "^4.5.0",
+    "eslint": "^7.0.0",
+    "eslint-config-airbnb-base": "^14.1.0",
+    "eslint-plugin-import": "^2.20.2",
+    "handlebars": "4.7.6",
+    "jquery": "^3.5.0",
+    "leaflet": "^1.6.0",
+    "leaflet-minimap": "3.6.1"
+  },
+  "dependencies": {
+    "node-static": "^0.7.11"
   }
 }