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",
|
|
|
|
"main": "index.js",
|
2020-09-26 01:43:20 +02:00
|
|
|
"staticFiles": {
|
2020-07-26 19:13:52 +02:00
|
|
|
"staticPath": [
|
|
|
|
{
|
2020-09-26 01:43:20 +02:00
|
|
|
"staticPath": "tiles/",
|
2020-08-22 03:15:42 +02:00
|
|
|
"staticOutDir": "./tiles/"
|
2020-07-26 19:13:52 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
2020-06-24 00:35:19 +02:00
|
|
|
"scripts": {
|
2020-11-15 15:08:09 +01:00
|
|
|
"start": "parcel *.html UI/** Logic/** assets/** assets/**/** assets/**/**/** vendor/* vendor/*/*",
|
2020-11-15 16:30:26 +01:00
|
|
|
"test": "ts-node test/*",
|
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",
|
2020-11-17 02:22:48 +01:00
|
|
|
"generate:images": "ts-node scripts/generateIncludedImages.ts",
|
|
|
|
"generate:translations": "ts-node scripts/generateTranslations.ts",
|
|
|
|
"generate:layouts": "ts-node scripts/createLayouts.ts",
|
2020-11-15 16:30:26 +01:00
|
|
|
"optimize-images": "cd assets/generated/ && find -name '*.png' -exec optipng '{}' \\; && echo 'PNGs are optimized'",
|
2020-11-17 02:22:48 +01:00
|
|
|
"generate": "npm run generate:images && npm run generate:translations && npm run generate:layouts && npm run generate:editor-layer-index",
|
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/*/*",
|
2020-11-15 16:30:26 +01:00
|
|
|
"prepare-deploy": "npm run generate && npm run build && rm -rf .cache",
|
|
|
|
"deploy:staging": "npm run prepare-deploy && rm -rf /home/pietervdvn/git/pietervdvn.github.io/Staging/* && cp -r dist/* /home/pietervdvn/git/pietervdvn.github.io/Staging/ && cd /home/pietervdvn/git/pietervdvn.github.io/ && git add * && git commit -m 'New MapComplete Version' && git push && cd - && npm run clean",
|
2020-11-15 16:35:23 +01:00
|
|
|
"deploy:production": "npm run prepare-deploy && npm run optimize-images && rm -rf /home/pietervdvn/git/pietervdvn.github.io/MapComplete/* && cp -r dist/* /home/pietervdvn/git/pietervdvn.github.io/MapComplete/ && cd /home/pietervdvn/git/pietervdvn.github.io/ && git add * && git commit -m 'New MapComplete Version' && git push && cd - && npm run clean",
|
2020-11-15 16:30:26 +01:00
|
|
|
|
2020-11-16 01:59:30 +01:00
|
|
|
"clean": "rm -rf .cache/ && (find *.html | grep -v \"\\(index\\|land\\|test\\|preferences\\|customGenerator\\).html\" | xargs rm) && (find *.webmanifest | xargs rm)"
|
2020-11-15 16:30:26 +01:00
|
|
|
|
2020-06-24 00:35:19 +02:00
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"OpenStreetMap",
|
|
|
|
"Editor"
|
|
|
|
],
|
|
|
|
"author": "pietervdvn",
|
|
|
|
"license": "MIT",
|
|
|
|
"dependencies": {
|
2020-09-27 22:48:43 +02:00
|
|
|
"@types/leaflet-providers": "^1.2.0",
|
2020-07-26 19:13:52 +02:00
|
|
|
"codegrid-js": "git://github.com/hlaw/codegrid-js.git",
|
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-10-02 19:00:24 +02:00
|
|
|
"i18next-client": "^1.11.4",
|
2020-06-24 00:35:19 +02:00
|
|
|
"jquery": "latest",
|
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",
|
2020-07-26 02:01:34 +02:00
|
|
|
"libphonenumber": "0.0.10",
|
|
|
|
"libphonenumber-js": "^1.7.55",
|
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",
|
2020-06-28 23:33:48 +02:00
|
|
|
"parcel": "^1.12.4",
|
|
|
|
"turf": "^3.0.14"
|
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",
|
2020-08-22 12:44:11 +02:00
|
|
|
"assert": "^2.0.0",
|
2020-08-26 15:36:04 +02:00
|
|
|
"canvas": "^2.6.1",
|
2020-07-26 02:01:34 +02:00
|
|
|
"fs": "0.0.1-security",
|
2020-07-26 19:13:52 +02:00
|
|
|
"marked": "^1.1.1",
|
|
|
|
"parcel-plugin-static-files-copy": "^2.4.3",
|
2020-07-26 02:01:34 +02:00
|
|
|
"promise-svg2img": "^0.2.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",
|
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
|
|
|
}
|
|
|
|
}
|