2020-06-24 00:35:19 +02:00
{
"name" : "mapcomplete" ,
2022-12-23 16:33:23 +01:00
"version" : "0.25.1" ,
2020-09-20 23:29:53 +02:00
"repository" : "https://github.com/pietervdvn/MapComplete" ,
2020-06-24 00:35:19 +02:00
"description" : "A small website to edit OSM easily" ,
2021-01-03 03:09:52 +01:00
"bugs" : "https://github.com/pietervdvn/MapComplete/issues" ,
"homepage" : "https://mapcomplete.osm.be" ,
2020-06-24 00:35:19 +02:00
"main" : "index.js" ,
"scripts" : {
2022-02-25 00:05:27 +01:00
"start" : "npm run generate:layeroverview && npm run strt" ,
2023-01-17 03:01:01 +01:00
"strt" : "vite" ,
2022-09-08 21:26:17 +02:00
"strttest" : "export NODE_OPTIONS=--max_old_space_size=8364 && parcel serve test.html assets/templates/*.svg assets/templates/fonts/*.ttf" ,
2022-02-01 04:14:54 +01:00
"watch:css" : "tailwindcss -i index.css -o css/index-tailwind-output.css --watch" ,
2021-10-03 02:50:11 +02:00
"generate:css" : "tailwindcss -i index.css -o css/index-tailwind-output.css" ,
2022-04-08 17:59:14 +02:00
"generate:doctests" : "doctest-ts-improved . --ignore .*.spec.ts --ignore .*ConfigJson.ts" ,
2022-04-06 03:06:50 +02:00
"test:run-only" : "mocha --require ts-node/register --require test/testhooks.ts \"./**/*.doctest.ts\" \"test/*\" \"test/**/*.ts\"" ,
2022-03-25 16:42:33 +01:00
"test" : "(npm run generate:doctests 2>&1 | grep -v \"No doctests found in\") && npm run test:run-only && npm run clean:tests" ,
2021-05-14 03:05:14 +02:00
"init" : "npm ci && npm run generate && npm run generate:editor-layer-index && npm run generate:layouts && npm run clean" ,
2022-05-26 14:22:48 +02:00
"generate:editor-layer-index" : "ts-node scripts/downloadFile.ts https://osmlab.github.io/editor-layer-index/imagery.geojson assets/editor-layer-index.json" ,
2022-01-16 23:41:33 +01:00
"generate:polygon-features" : "ts-node scripts/downloadFile.ts https://raw.githubusercontent.com/tyrasd/osm-polygon-features/master/polygon-features.json assets/polygon-features.json" ,
2020-11-17 02:22:48 +01:00
"generate:images" : "ts-node scripts/generateIncludedImages.ts" ,
"generate:translations" : "ts-node scripts/generateTranslations.ts" ,
2022-01-19 20:34:04 +01:00
"watch:translations" : "cd langs && ls | entr -c npm run generate:translations" ,
2021-08-06 20:22:23 +02:00
"reset:translations" : "ts-node scripts/generateTranslations.ts --ignore-weblate" ,
2021-04-07 01:32:39 +02:00
"generate:layouts" : "ts-node scripts/generateLayouts.ts" ,
2021-04-21 01:29:27 +02:00
"generate:docs" : "ts-node scripts/generateDocs.ts && ts-node scripts/generateTaginfoProjectFiles.ts" ,
2021-12-10 12:54:12 +01:00
"generate:cache:speelplekken:mini" : "ts-node scripts/generateCache.ts speelplekken 14 ../MapComplete-data/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 ../MapComplete-data/speelplekken_cache/ 51.20 4.35 51.09 4.56" ,
"generate:cache:natuurpunt" : "npm run generate:layeroverview && ts-node scripts/generateCache.ts natuurpunt 12 ../MapComplete-data/natuurpunt_cache/ 50.40 2.1 51.54 6.4 --generate-point-overview nature_reserve,visitor_information_centre" ,
2022-01-25 18:20:15 +01:00
"generate:cache:natuurpunt:mini" : "ts-node scripts/generateCache.ts natuurpunt 12 ../../git/MapComplete-data/natuurpunt_cache_mini/ 51.00792239979105 4.497699737548828 51.0353492224462554 4.539070129394531 --generate-point-overview nature_reserve,visitor_information_centre" ,
2022-07-06 13:58:56 +02:00
"generate:layeroverview" : "ts-node scripts/generateLayerOverview.ts" ,
2021-04-10 16:20:40 +02:00
"generate:licenses" : "ts-node scripts/generateLicenseInfo.ts --no-fail" ,
2021-08-06 20:22:23 +02:00
"query:licenses" : "ts-node scripts/generateLicenseInfo.ts --query" ,
2022-02-14 19:41:55 +01:00
"generate:contributor-list" : "ts-node scripts/generateContributors.ts" ,
2021-11-07 17:52:05 +01:00
"generate:schemas" : "ts2json-schema -p Models/ThemeConfig/Json/ -o Docs/Schemas/ -t tsconfig.json -R . -m \".*ConfigJson\" && ts-node scripts/fixSchemas.ts " ,
2022-09-01 11:33:39 +02:00
"generate:service-worker" : "tsc service-worker.ts && git_hash=$(git rev-parse HEAD) && sed -i'.bkp' \"s/GITHUB-COMMIT/$git_hash/\" service-worker.js && rm service-worker.js.bkp" ,
2020-11-15 16:30:26 +01:00
"optimize-images" : "cd assets/generated/ && find -name '*.png' -exec optipng '{}' \\; && echo 'PNGs are optimized'" ,
2023-01-09 20:38:05 +01:00
"generate:stats" : "ts-node scripts/GenerateSeries.ts" ,
2022-07-13 23:12:14 +02:00
"reset:layeroverview" : "echo {\\\"layers\\\":[], \\\"themes\\\":[]} > ./assets/generated/known_layers_and_themes.json && echo {\\\"layers\\\": []} > ./assets/generated/known_layers.json && rm -f ./assets/generated/layers/*.json && rm -f ./assets/generated/themes/*.json && npm run generate:layeroverview && ts-node scripts/generateLayerOverview.ts --force" ,
2022-07-18 15:06:12 +02:00
"generate" : "mkdir -p ./assets/generated; npm run generate:licenses; npm run generate:images; npm run generate:charging-stations; npm run generate:translations; npm run reset:layeroverview; npm run generate:service-worker" ,
2021-09-07 21:03:29 +02:00
"generate:charging-stations" : "cd ./assets/layers/charging_station && ts-node csvToJson.ts && cd -" ,
2022-06-02 03:04:11 +02:00
"prepare-deploy" : "npm run generate:service-worker && ./scripts/build.sh" ,
2022-09-03 18:00:54 +02:00
"format" : "npx prettier --write '**/*.ts'" ,
2022-03-17 11:01:52 +01:00
"clean:tests" : "(find . -type f -name \"*.doctest.ts\" | xargs rm)" ,
2022-10-28 04:33:05 +02:00
"clean" : "rm -rf .cache/ && (find *.html | grep -v \"^\\(404\\|index\\|land\\|test\\|preferences\\|customGenerator\\|professional\\|automaton\\|import_helper\\|import_viewer\\|theme\\).html\" | xargs rm) && (ls | grep \"^index_[a-zA-Z_-]\\+\\.ts$\" | xargs rm) && (ls | grep \".*.webmanifest$\" | grep -v \"manifest.webmanifest\" | xargs rm)" ,
2022-02-24 02:33:20 +01:00
"generate:dependency-graph" : "node_modules/.bin/depcruise --exclude \"^node_modules\" --output-type dot Logic/State/MapState.ts > dependencies.dot && dot dependencies.dot -T svg -o dependencies.svg && rm dependencies.dot" ,
2022-05-17 00:05:16 +02:00
"weblate-add-upstream" : "git remote add weblate-github git@github.com:weblate/MapComplete.git" ,
2023-01-13 03:54:23 +01:00
"weblate-merge" : "git remote update weblate-github; git merge weblate-github/weblate-mapcomplete-core weblate-github/weblate-mapcomplete-layers weblate-github/weblate-mapcomplete-layer-translations" ,
2022-05-23 20:45:22 +02:00
"weblate-fix-heavy" : "git remote rm weblate-layers; git remote add weblate-layers https://hosted.weblate.org/git/mapcomplete/layers/; git remote update weblate-layers; git merge weblate-layers/master" ,
2022-09-10 13:25:18 +02:00
"housekeeping" : "npm run generate && npm run generate:docs && npm run generate:contributor-list && npm run format && git add assets/ langs/ Docs/ **/*.ts Docs/* && git commit -m 'Housekeeping...'" ,
2022-07-02 01:59:26 +02:00
"parseSchools" : "ts-node scripts/schools/amendSchoolData.ts" ,
2022-10-29 03:01:24 +02:00
"steal" : "ts-node scripts/fetchLanguages.ts"
2020-06-24 00:35:19 +02:00
} ,
"keywords" : [
"OpenStreetMap" ,
"Editor"
] ,
"author" : "pietervdvn" ,
2022-09-08 20:01:12 +02:00
"license" : "GPL-3.0-or-later" ,
2022-06-02 02:59:34 +02:00
"browserslist" : [
">0.2%" ,
"not dead" ,
"not ie < 11" ,
"not op_mini all"
] ,
2020-06-24 00:35:19 +02:00
"dependencies" : {
2022-06-07 19:48:09 +02:00
"@turf/boolean-intersects" : "^6.5.0" ,
2021-12-24 02:48:04 +01:00
"@turf/buffer" : "^6.5.0" ,
"@turf/collect" : "^6.5.0" ,
"@turf/distance" : "^6.5.0" ,
"@turf/length" : "^6.5.0" ,
"@turf/turf" : "^6.5.0" ,
2022-12-13 03:46:53 +01:00
"@types/showdown" : "^2.0.0" ,
2022-07-20 09:36:00 +02:00
"chart.js" : "^3.8.0" ,
2020-10-05 20:42:23 +02:00
"country-language" : "^0.1.7" ,
2022-06-13 17:48:29 +02:00
"csv-parse" : "^5.1.0" ,
2022-06-13 00:51:53 +02:00
"doctest-ts-improved" : "^0.8.8" ,
2020-07-26 02:01:34 +02:00
"email-validator" : "^2.0.4" ,
2020-11-20 14:07:19 +01:00
"escape-html" : "^1.0.3" ,
2022-06-28 03:21:18 +02:00
"fake-dom" : "^1.0.4" ,
2022-03-18 01:21:00 +01:00
"geojson2svg" : "^1.3.1" ,
2020-10-02 19:00:24 +02:00
"i18next-client" : "^1.11.4" ,
2021-11-15 11:51:32 +01:00
"idb-keyval" : "^6.0.3" ,
2022-09-08 21:26:17 +02:00
"jspdf" : "^2.5.1" ,
2021-12-13 20:50:29 +01:00
"latlon2country" : "^1.2.6" ,
2022-12-06 04:08:18 +01:00
"leaflet" : "^1.9.2" ,
2021-10-22 01:07:32 +02:00
"leaflet-polylineoffset" : "^1.1.1" ,
2021-10-20 01:18:40 +02:00
"leaflet-providers" : "^1.13.0" ,
2022-09-10 16:40:32 +02:00
"leaflet-simple-map-screenshoter" : "^0.4.5" ,
2022-07-13 17:59:10 +02:00
"libphonenumber-js" : "^1.10.8" ,
2021-04-04 03:22:56 +02:00
"lz-string" : "^1.4.4" ,
2023-01-21 23:58:14 +01:00
"mangrove-reviews-typescript" : "^0.0.6" ,
2021-06-24 14:33:48 +02:00
"opening_hours" : "^3.6.0" ,
2020-06-24 00:35:19 +02:00
"osm-auth" : "^1.0.2" ,
2022-10-28 04:42:15 +02:00
"osmtogeojson" : "^3.0.0-beta.5" ,
2022-01-22 02:56:35 +01:00
"papaparse" : "^5.3.1" ,
2021-04-07 01:32:39 +02:00
"prompt-sync" : "^4.2.0" ,
2022-12-13 03:46:53 +01:00
"showdown" : "^2.1.0" ,
2022-09-14 12:18:51 +02:00
"svg-path-parser" : "^1.1.0" ,
2022-09-04 21:04:13 +02:00
"tailwindcss" : "^3.1.8" ,
2021-11-08 20:49:51 +01:00
"togpx" : "^0.5.4" ,
2021-10-18 20:40:24 +02:00
"wikibase-sdk" : "^7.14.0" ,
2022-02-04 00:42:02 +01:00
"wikidata-sdk" : "^7.14.0" ,
"xml2js" : "^0.4.23"
2020-06-24 00:35:19 +02:00
} ,
"devDependencies" : {
2020-07-26 02:01:34 +02:00
"@babel/polyfill" : "^7.10.4" ,
2022-09-04 21:04:13 +02:00
"@babel/preset-env" : "7.13.8" ,
2022-09-03 18:00:54 +02:00
"@parcel/service-worker" : "^2.6.0" ,
2023-01-16 15:05:22 +01:00
"@rollup/plugin-json" : "^6.0.0" ,
2022-09-04 21:04:13 +02:00
"@types/chai" : "^4.3.0" ,
"@types/geojson" : "^7946.0.10" ,
"@types/leaflet-markercluster" : "^1.0.3" ,
"@types/leaflet-providers" : "^1.2.0" ,
"@types/lz-string" : "^1.3.34" ,
"@types/mocha" : "^9.1.0" ,
2023-01-15 23:28:02 +01:00
"@types/node" : "^18.11.18" ,
2022-09-04 21:04:13 +02:00
"@types/papaparse" : "^5.3.1" ,
"@types/prompt-sync" : "^4.1.0" ,
"@types/wikidata-sdk" : "^6.1.0" ,
"@types/xml2js" : "^0.4.9" ,
2020-08-22 12:44:11 +02:00
"assert" : "^2.0.0" ,
2022-03-14 22:57:01 +01:00
"chai" : "^4.3.6" ,
2021-10-14 20:14:14 +02:00
"dependency-cruiser" : "^10.4.0" ,
2020-07-26 02:01:34 +02:00
"fs" : "0.0.1-security" ,
2022-03-14 22:57:01 +01:00
"mocha" : "^9.2.2" ,
2022-09-03 18:00:54 +02:00
"prettier" : "2.7.1" ,
2020-07-25 18:00:08 +02:00
"read-file" : "^0.2.0" ,
2022-06-02 01:47:16 +02:00
"sharp" : "^0.30.5" ,
2022-09-05 08:09:56 +02:00
"ts-node" : "^10.9.1" ,
2021-11-07 17:17:48 +01:00
"ts2json-schema" : "^1.4.0" ,
2022-09-04 23:21:24 +02:00
"tslint" : "^6.1.3" ,
2021-04-10 03:50:44 +02:00
"tslint-no-circular-imports" : "^0.7.0" ,
2023-01-15 23:28:02 +01:00
"typescript" : "^4.7.4" ,
"vite" : "^4.0.4"
2020-06-24 00:35:19 +02:00
}
}