2020-06-24 00:35:19 +02:00
{
"name" : "mapcomplete" ,
2020-08-17 17:23:15 +02:00
"version" : "0.0.5" ,
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" : {
2021-01-03 03:09:52 +01:00
"increase-memory" : "export NODE_OPTIONS=--max_old_space_size=4096" ,
2021-04-11 14:11:02 +02:00
"start" : "ts-node scripts/generateLayerOverview.ts --no-fail && npm run increase-memory && parcel *.html UI/** Logic/** assets/** assets/**/** assets/**/**/** vendor/* vendor/*/*" ,
2021-05-14 02:25:30 +02:00
"test" : "ts-node test/TestAll.ts" ,
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" ,
2021-05-28 12:42:59 +02:00
"add-weblate-upstream" : "git remote add weblate-layers https://hosted.weblate.org/git/mapcomplete/layer-translations/ ; git remote update weblate-layers" ,
2021-06-13 15:09:34 +02:00
"fix-weblate" : "git remote update weblate-layers; git merge weblate-layers/master" ,
2020-11-15 15:08:09 +01:00
"generate:editor-layer-index" : "cd assets/ && wget https://osmlab.github.io/editor-layer-index/imagery.geojson --output-document=editor-layer-index.json" ,
2021-05-27 18:55:12 +02:00
"generate:polygon-features" : "cd assets/ && wget https://raw.githubusercontent.com/tyrasd/osm-polygon-features/master/polygon-features.json --output-document=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" ,
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-05-14 02:25:30 +02:00
"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" ,
2021-04-10 16:20:40 +02:00
"generate:layeroverview" : "ts-node scripts/generateLayerOverview.ts --no-fail" ,
"generate:licenses" : "ts-node scripts/generateLicenseInfo.ts --no-fail" ,
2021-05-07 02:36:15 +02:00
"generate:report" : "cd Docs/Tools && ./compileStats.sh && git commit . -m 'New statistics ands graphs' && git push" ,
2021-05-19 19:39:55 +02:00
"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/,$/]}/' > assets/contributors.json" ,
2021-04-11 02:46:47 +02:00
"validate:layeroverview" : "ts-node scripts/generateLayerOverview.ts --report" ,
"validate:licenses" : "ts-node scripts/generateLicenseInfo.ts --report" ,
2020-11-15 16:30:26 +01:00
"optimize-images" : "cd assets/generated/ && find -name '*.png' -exec optipng '{}' \\; && echo 'PNGs are optimized'" ,
2021-05-28 19:47:44 +02:00
"reset:layeroverview" : "echo {\\\"layers\\\":[], \\\"themes\\\":[]} > ./assets/generated/known_layers_and_themes.json" ,
2021-04-21 01:21:29 +02:00
"generate" : "mkdir -p ./assets/generated && npm run reset:layeroverview && npm run generate:images && npm run generate:translations && npm run generate:licenses && npm run generate:licenses && npm run generate:layeroverview" ,
2020-11-17 16:29:51 +01:00
"build" : "rm -rf dist/ && npm run generate && parcel build --public-url ./ *.html assets/** assets/**/** assets/**/**/** vendor/* vendor/*/*" ,
2021-05-27 18:55:12 +02:00
"prepare-deploy" : "npm run generate:contributor-list && npm run generate && npm run test && npm run generate:editor-layer-index && npm run generate:layeroverview && npm run generate:layouts && npm run build && rm -rf .cache && npm run generate:docs" ,
2021-05-28 20:00:13 +02:00
"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" ,
2021-05-13 13:25:03 +02:00
"gittag" : "ts-node scripts/printVersion.ts | bash" ,
2021-04-10 03:50:44 +02:00
"lint" : "tslint --project . -c tslint.json '**.ts' " ,
2021-05-12 18:55:22 +02:00
"clean" : "rm -rf .cache/ && (find *.html | grep -v \"\\(index\\|land\\|test\\|preferences\\|customGenerator\\).html\" | xargs rm) && rm *.webmanifest"
2020-06-24 00:35:19 +02:00
} ,
"keywords" : [
"OpenStreetMap" ,
"Editor"
] ,
"author" : "pietervdvn" ,
2021-01-03 03:09:52 +01:00
"license" : "GPL" ,
2020-06-24 00:35:19 +02:00
"dependencies" : {
2021-03-17 15:45:37 +01:00
"@babel/preset-env" : "7.13.8" ,
2021-01-17 21:01:44 +01:00
"@tailwindcss/postcss7-compat" : "^2.0.2" ,
2021-04-18 14:24:30 +02:00
"@turf/buffer" : "^6.3.0" ,
"@turf/collect" : "^6.3.0" ,
2021-03-24 01:25:57 +01:00
"@turf/distance" : "^6.3.0" ,
2021-04-18 14:24:30 +02:00
"@turf/length" : "^6.3.0" ,
"@turf/turf" : "^6.3.0" ,
2021-01-29 03:23:53 +01:00
"@types/jquery" : "^3.5.5" ,
2021-01-04 18:55:10 +01:00
"@types/leaflet-markercluster" : "^1.0.3" ,
2020-09-27 22:48:43 +02:00
"@types/leaflet-providers" : "^1.2.0" ,
2021-01-04 04:36:21 +01:00
"@types/leaflet.markercluster" : "^1.4.3" ,
2021-04-04 03:22:56 +02:00
"@types/lz-string" : "^1.3.34" ,
2021-04-07 01:32:39 +02:00
"@types/prompt-sync" : "^4.1.0" ,
2021-01-17 21:01:44 +01:00
"autoprefixer" : "^9.8.6" ,
2020-10-05 20:42:23 +02:00
"country-language" : "^0.1.7" ,
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" ,
2020-10-02 19:00:24 +02:00
"i18next-client" : "^1.11.4" ,
2021-06-17 16:40:19 +02:00
"jquery" : "^3.6.0" ,
2021-03-30 16:24:50 +02:00
"latlon2country" : "^1.1.3" ,
2020-09-07 23:39:47 +02:00
"leaflet" : "^1.7.1" ,
2020-09-27 22:48:43 +02:00
"leaflet-providers" : "^1.10.2" ,
2021-01-04 04:36:21 +01:00
"leaflet.markercluster" : "^1.4.1" ,
2020-07-26 02:01:34 +02:00
"libphonenumber" : "0.0.10" ,
"libphonenumber-js" : "^1.7.55" ,
2021-04-04 03:22:56 +02:00
"lz-string" : "^1.4.4" ,
2020-12-07 03:02:50 +01:00
"mangrove-reviews" : "^0.1.3" ,
2020-10-05 20:42:23 +02:00
"moment" : "^2.29.0" ,
2020-10-02 19:00:24 +02:00
"opening_hours" : "^3.5.0" ,
2020-06-24 00:35:19 +02:00
"osm-auth" : "^1.0.2" ,
"osmtogeojson" : "^3.0.0-beta.4" ,
2021-03-17 15:45:37 +01:00
"parcel" : "^1.2.4" ,
2021-05-11 15:00:42 +02:00
"postcss" : "^7.0.35" ,
2021-04-07 01:32:39 +02:00
"prompt-sync" : "^4.2.0" ,
2021-01-18 03:25:15 +01:00
"sharp" : "^0.27.0" ,
2021-01-29 03:23:53 +01:00
"slick-carousel" : "^1.8.1" ,
"tailwindcss" : "npm:@tailwindcss/postcss7-compat@^2.0.2" ,
2021-05-14 02:25:30 +02:00
"tslint" : "^6.1.3"
2020-06-24 00:35:19 +02:00
} ,
"devDependencies" : {
2020-07-26 02:01:34 +02:00
"@babel/polyfill" : "^7.10.4" ,
2020-07-25 18:00:08 +02:00
"@types/node" : "^7.0.5" ,
2021-01-29 03:23:53 +01:00
"@types/slick-carousel" : "^1.6.34" ,
2020-08-22 12:44:11 +02:00
"assert" : "^2.0.0" ,
2020-07-26 02:01:34 +02:00
"fs" : "0.0.1-security" ,
2021-02-08 23:07:48 +01:00
"marked" : "^2.0.0" ,
2020-07-25 18:00:08 +02:00
"read-file" : "^0.2.0" ,
2020-08-22 12:44:11 +02:00
"ts-node" : "^9.0.0" ,
2020-10-02 19:00:24 +02:00
"ts-node-dev" : "^1.0.0-pre.63" ,
2021-04-10 03:50:44 +02:00
"tslint-no-circular-imports" : "^0.7.0" ,
2021-03-13 19:07:11 +01:00
"turndown" : "^7.0.0" ,
2020-07-26 02:01:34 +02:00
"typescript" : "^3.9.7" ,
2020-07-25 18:00:08 +02:00
"write-file" : "^1.0.0"
2020-06-24 00:35:19 +02:00
}
}