{
  "name": "mapcomplete",
  "version": "0.0.5",
  "repository": "https://github.com/pietervdvn/MapComplete",
  "description": "A small website to edit OSM easily",
  "bugs": "https://github.com/pietervdvn/MapComplete/issues",
  "homepage": "https://mapcomplete.osm.be",
  "main": "index.js",
  "scripts": {
    "increase-memory": "export NODE_OPTIONS=--max_old_space_size=8364",
    "start": "npm run start:prepare && npm-run-all --parallel start:parallel:*",
    "strt": "npm run start:prepare && npm run start:parallel:parcel",
    "start:prepare": "ts-node scripts/generateLayerOverview.ts --no-fail && npm run increase-memory",
    "start:parallel:parcel": "node --max_old_space_size=8000 $(which parcel) serve *.html UI/** Logic/** assets/*.json assets/svg/* assets/generated/* assets/layers/*/*.svg assets/layers/*/*.jpg   assets/layers/*/*.png assets/tagRenderings/*.json assets/themes/*/*.svg assets/themes/*/*.jpg assets/themes/*/*.png vendor/* vendor/*/*",
    "start:parallel:tailwindcli": "tailwindcss -i index.css -o css/index-tailwind-output.css --watch",
    "generate:css": "tailwindcss -i index.css -o css/index-tailwind-output.css",
    "test": "ts-node test/TestAll.ts",
    "init": "npm ci && npm run generate && npm run generate:editor-layer-index && npm run generate:layouts && npm run clean",
    "add-weblate-upstream": "git remote add weblate-layers https://hosted.weblate.org/git/mapcomplete/layer-translations/ ; git remote update weblate-layers",
    "fix-weblate": "git remote update weblate-layers; git merge weblate-layers/master",
    "generate:editor-layer-index": "cd assets/ && wget https://osmlab.github.io/editor-layer-index/imagery.geojson --output-document=editor-layer-index.json",
    "generate:polygon-features": "cd assets/ && wget https://raw.githubusercontent.com/tyrasd/osm-polygon-features/master/polygon-features.json --output-document=polygon-features.json",
    "generate:images": "ts-node scripts/generateIncludedImages.ts",
    "generate:translations": "ts-node scripts/generateTranslations.ts",
    "reset:translations": "ts-node scripts/generateTranslations.ts --ignore-weblate",
    "generate:layouts": "ts-node scripts/generateLayouts.ts",
    "generate:docs": "ts-node scripts/generateDocs.ts && ts-node scripts/generateTaginfoProjectFiles.ts",
    "generate:cache:speelplekken:mini": "ts-node scripts/generateCache.ts speelplekken 14 ../pietervdvn.github.io/speelplekken_cache_mini/ 51.181710380278176 4.423413276672363 51.193007664772495 4.444141387939452",
    "generate:cache:speelplekken": "npm run generate:layeroverview && ts-node scripts/generateCache.ts speelplekken 14 ../pietervdvn.github.io/speelplekken_cache/ 51.20 4.35 51.09 4.56",
    "generate:cache:natuurpunt": "npm run generate:layeroverview && ts-node scripts/generateCache.ts natuurpunt 12 ../pietervdvn.github.io/natuurpunt_cache/ 50.40 2.1 51.54 6.4 --generate-point-overview nature_reserve,visitor_information_centre",
    "generate:layeroverview": "echo {\\\"layers\\\":[], \\\"themes\\\":[]} > ./assets/generated/known_layers_and_themes.json && ts-node scripts/generateLayerOverview.ts --no-fail",
    "generate:licenses": "ts-node scripts/generateLicenseInfo.ts --no-fail",
    "query:licenses": "ts-node scripts/generateLicenseInfo.ts --query",
    "generate:report": "cd Docs/Tools && ./compileStats.sh && git commit . -m 'New statistics ands graphs' && git push",
    "generate:contributor-list": "git log --pretty='%aN' | sort | uniq -c | sort -hr | sed 's/ *\\([0-9]*\\) \\(.*\\)$/{\"contributor\":\"\\2\", \"commits\":\\1}/' | tr '\\n' ',' | sed 's/^/{\"contributors\":[/' | sed 's/,$/]}/' | jq > assets/contributors.json",
    "validate:layeroverview": "ts-node scripts/generateLayerOverview.ts --report",
    "validate:licenses": "ts-node scripts/generateLicenseInfo.ts --report",
    "generate:schemas": "ts2json-schema -p Models/ThemeConfig/Json/ -o Docs/Schemas/ -t tsconfig.json -R . -m \".*ConfigJson\" && ts-node scripts/fixSchemas.ts ",
    "optimize-images": "cd assets/generated/ &&  find -name '*.png' -exec optipng '{}' \\; && echo 'PNGs are optimized'",
    "reset:layeroverview": "echo {\\\"layers\\\":[], \\\"themes\\\":[]} > ./assets/generated/known_layers_and_themes.json",
    "generate": "mkdir -p ./assets/generated && npm run reset:layeroverview && npm run generate:images && npm run generate:charging-stations && npm run generate:translations && npm run generate:licenses && npm run validate:layeroverview",
    "build": "rm -rf dist/ && npm run generate && parcel build --public-url ./ *.html assets/** assets/**/** assets/**/**/** vendor/* vendor/*/*",
    "generate:charging-stations": "cd ./assets/layers/charging_station && ts-node csvToJson.ts && cd -",
    "prepare-deploy": "npm run generate && npm run test && npm run generate:editor-layer-index && npm run generate:layouts && npm run build && rm -rf .cache",
    "deploy:staging": "npm run prepare-deploy && rm -rf ~/git/pietervdvn.github.io/Staging/* && cp -r dist/* ~/git/pietervdvn.github.io/Staging/ && cd ~/git/pietervdvn.github.io/ && git add * && git commit -m 'New MapComplete Version' && git push && cd - && npm run clean",
    "deploy:pietervdvn": "cd ~/git/pietervdvn.github.io/ && git pull && cd - && npm run prepare-deploy && rm -rf ~/git/pietervdvn.github.io/MapComplete/* && cp -r dist/* ~/git/pietervdvn.github.io/MapComplete/ && cd ~/git/pietervdvn.github.io/ && git add * && git commit -m 'New MapComplete Version' && git push && cd - && npm run clean",
    "deploy:production": "cd ~/git/mapcomplete.github.io/ && git pull && cd - && rm -rf ./assets/generated && npm run prepare-deploy && npm run optimize-images && rm -rf ~/git/mapcomplete.github.io/* && cp -r dist/* ~/git/mapcomplete.github.io/ && cd ~/git/mapcomplete.github.io/ && echo \"mapcomplete.osm.be\" > CNAME  && git add * && git commit -m 'New MapComplete Version' && git push && cd - && npm run clean && npm run gittag",
    "gittag": "ts-node scripts/printVersion.ts | bash",
    "lint": "tslint --project . -c tslint.json '**.ts' ",
    "clean": "rm -rf .cache/ && (find *.html | grep -v \"\\(index\\|land\\|test\\|preferences\\|customGenerator\\).html\" | xargs rm) && rm *.webmanifest",
    "generate:dependency-graph": "node_modules/.bin/depcruise --exclude \"^node_modules\" --output-type dot test/TestAll.ts > dependencies.dot && dot dependencies.dot -T svg -o dependencies.svg && rm dependencies.dot"
  },
  "keywords": [
    "OpenStreetMap",
    "Editor"
  ],
  "author": "pietervdvn",
  "license": "GPL",
  "dependencies": {
    "@babel/preset-env": "7.13.8",
    "@turf/buffer": "^6.3.0",
    "@turf/collect": "^6.3.0",
    "@turf/distance": "^6.3.0",
    "@turf/length": "^6.3.0",
    "@turf/turf": "^6.3.0",
    "@types/jquery": "^3.5.5",
    "@types/leaflet-markercluster": "^1.0.3",
    "@types/leaflet-providers": "^1.2.0",
    "@types/leaflet.markercluster": "^1.4.3",
    "@types/lz-string": "^1.3.34",
    "@types/prompt-sync": "^4.1.0",
    "@types/wikidata-sdk": "^6.1.0",
    "country-language": "^0.1.7",
    "email-validator": "^2.0.4",
    "escape-html": "^1.0.3",
    "i18next-client": "^1.11.4",
    "jquery": "^3.6.0",
    "jspdf": "^2.3.1",
    "latlon2country": "^1.1.3",
    "leaflet": "^1.7.1",
    "leaflet-polylineoffset": "^1.1.1",
    "leaflet-providers": "^1.13.0",
    "leaflet-simple-map-screenshoter": "^0.4.4",
    "leaflet.markercluster": "^1.4.1",
    "libphonenumber": "0.0.10",
    "libphonenumber-js": "^1.7.55",
    "lz-string": "^1.4.4",
    "mangrove-reviews": "^0.1.3",
    "moment": "^2.29.0",
    "npm-run-all": "^4.1.5",
    "opening_hours": "^3.6.0",
    "osm-auth": "^1.0.2",
    "osmtogeojson": "^3.0.0-beta.4",
    "parcel": "^1.2.4",
    "prompt-sync": "^4.2.0",
    "tailwindcss": "^2.2.15",
    "togpx": "^0.5.4",
    "tslint": "^6.1.3",
    "wikibase-sdk": "^7.14.0",
    "wikidata-sdk": "^7.14.0"
  },
  "devDependencies": {
    "@babel/polyfill": "^7.10.4",
    "@types/node": "^7.0.5",
    "assert": "^2.0.0",
    "dependency-cruiser": "^10.4.0",
    "fs": "0.0.1-security",
    "git-json-merge": "^0.4.5",
    "marked": "^2.0.0",
    "read-file": "^0.2.0",
    "sharp": "^0.28.3",
    "ts-node": "^9.0.0",
    "ts-node-dev": "^1.0.0-pre.63",
    "ts2json-schema": "^1.4.0",
    "tslint-no-circular-imports": "^0.7.0",
    "typescript": "^3.9.7",
    "write-file": "^1.0.0"
  }
}
