X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/blobdiff_plain/bee66b9d8d6015f3913b6e83e91907144f6a5ada..33d55c06bc00d8dd41dd84be87a083870813ca85:/package.json diff --git a/package.json b/package.json index 61521ae..b3ef07a 100644 --- a/package.json +++ b/package.json @@ -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.3.1", - "leaflet": "1.3.1", - "leaflet-minimap": "3.6.1", - "handlebars": "4.0.11", - "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" } }