forked from openstreetmap/iD
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
137 lines (137 loc) · 5.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "@openhistoricalmap/id",
"version": "2.29.1",
"description": "The OpenHistoricalMap fork of a friendly editor for OpenStreetMap",
"main": "dist/iD.min.js",
"repository": {
"type": "git",
"url": "git+https://github.com/OpenHistoricalMap/iD"
},
"homepage": "https://github.com/OpenHistoricalMap/iD",
"bugs": "https://github.com/OpenHistoricalMap/issues/issues",
"keywords": [
"editor",
"openhistoricalmap"
],
"license": "ISC",
"scripts": {
"all": "run-s clean build dist",
"build": "run-s build:css build:data build:js",
"build:css": "node scripts/build_css.js",
"build:data": "shx mkdir -p dist/data && node scripts/build_data.js",
"build:stats": "node config/esbuild.config.mjs --stats && esbuild-visualizer --metadata dist/esbuild.json --exclude *.png --filename docs/statistics.html && shx rm dist/esbuild.json",
"build:js": "node config/esbuild.config.mjs",
"build:js:watch": "node config/esbuild.config.mjs --watch",
"clean": "shx rm -f dist/esbuild.json dist/*.js dist/*.map dist/*.css dist/img/*.svg",
"dist": "run-p dist:**",
"dist:mapillary": "shx mkdir -p dist/mapillary-js && shx cp -R node_modules/mapillary-js/dist/* dist/mapillary-js/",
"dist:pannellum": "shx mkdir -p dist/pannellum && shx cp -R node_modules/pannellum/build/* dist/pannellum/",
"dist:min": "node config/esbuild.config.min.mjs",
"dist:svg:iD": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"iD-%s\" --symbol-sprite dist/img/iD-sprite.svg \"svg/iD-sprite/**/*.svg\"",
"dist:svg:community": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"community-%s\" --symbol-sprite dist/img/community-sprite.svg node_modules/osm-community-index/dist/img/*.svg",
"dist:svg:fa": "svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/fa-sprite.svg svg/fontawesome/*.svg",
"dist:svg:maki": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"maki-%s\" --symbol-sprite dist/img/maki-sprite.svg node_modules/@mapbox/maki/icons/*.svg",
"dist:svg:mapillary:signs": "svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/mapillary-sprite.svg node_modules/@rapideditor/mapillary_sprite_source/package_signs/*.svg",
"dist:svg:mapillary:objects": "svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/mapillary-object-sprite.svg node_modules/@rapideditor/mapillary_sprite_source/package_objects/*.svg",
"dist:svg:roentgen": "svg-sprite --shape-id-generator \"roentgen-%s\" --shape-dim-width 16 --shape-dim-height 16 --symbol --symbol-dest . --symbol-sprite dist/img/roentgen-sprite.svg svg/roentgen/*.svg",
"dist:svg:temaki": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"temaki-%s\" --symbol-sprite dist/img/temaki-sprite.svg node_modules/@rapideditor/temaki/icons/*.svg",
"imagery": "node scripts/update_imagery.js",
"lint": "eslint config scripts test/spec modules --ext js,mjs",
"lint:fix": "eslint scripts test/spec modules --fix",
"start": "run-s start:watch",
"start:single-build": "run-p build:js start:server",
"start:watch": "run-p build:js:watch start:server",
"start:server": "node scripts/server.js",
"test": "npm-run-all -s lint build test:spec",
"test:spec": "karma start config/karma.conf.js",
"translations": "node scripts/update_locales.js"
},
"dependencies": {
"@mapbox/geojson-area": "^0.2.2",
"@mapbox/sexagesimal": "1.2.0",
"@mapbox/vector-tile": "^1.3.1",
"@rapideditor/country-coder": "~5.2.2",
"@rapideditor/location-conflation": "~1.3.0",
"@tmcw/togeojson": "^5.8.1",
"@turf/bbox": "^6.0.0",
"@turf/bbox-clip": "^6.0.0",
"abortcontroller-polyfill": "^1.7.5",
"aes-js": "^3.1.2",
"alif-toolkit": "^1.2.9",
"core-js-bundle": "^3.36.1",
"diacritics": "1.3.0",
"edtf": "^4.5.1",
"exifr": "^7.1.3",
"fast-deep-equal": "~3.1.1",
"fast-json-stable-stringify": "2.1.0",
"lodash-es": "~4.17.15",
"marked": "~12.0.1",
"node-diff3": "~3.1.0",
"osm-auth": "~2.4.0",
"pannellum": "2.5.6",
"pbf": "^3.2.1",
"polygon-clipping": "~0.15.7",
"rbush": "3.0.1",
"whatwg-fetch": "^3.6.20",
"which-polygon": "2.2.1"
},
"devDependencies": {
"@fortawesome/fontawesome-svg-core": "~6.5.1",
"@fortawesome/free-brands-svg-icons": "~6.5.2",
"@fortawesome/free-regular-svg-icons": "~6.5.1",
"@fortawesome/free-solid-svg-icons": "~6.5.1",
"@mapbox/maki": "^8.0.1",
"@openstreetmap/id-tagging-schema": "^6.7.2",
"@rapideditor/mapillary_sprite_source": "^1.8.0",
"@rapideditor/temaki": "^5.8.0",
"@transifex/api": "^7.1.0",
"autoprefixer": "^10.4.19",
"browserslist": "^4.23.0",
"browserslist-to-esbuild": "^2.1.1",
"chai": "^4.4.1",
"chalk": "^4.1.2",
"cldr-core": "^44.0.1",
"cldr-localenames-full": "^44.1.0",
"concat-files": "^0.1.1",
"d3": "~7.9.0",
"dotenv": "^16.4.5",
"editor-layer-index": "github:osmlab/editor-layer-index#gh-pages",
"esbuild": "^0.20.2",
"esbuild-visualizer": "^0.6.0",
"eslint": "^8.57.0",
"fetch-mock": "^9.11.0",
"gaze": "^1.1.3",
"glob": "^10.3.12",
"happen": "^0.3.2",
"js-yaml": "^4.0.0",
"json-stringify-pretty-compact": "^3.0.0",
"karma": "^6.4.3",
"karma-chrome-launcher": "^3.2.0",
"karma-coverage": "2.1.1",
"karma-mocha": "^2.0.1",
"karma-remap-istanbul": "^0.6.0",
"mapillary-js": "4.1.2",
"minimist": "^1.2.8",
"mocha": "^10.4.0",
"name-suggestion-index": "~6.0",
"npm-run-all": "^4.0.0",
"ohm-editor-layer-index": "github:openhistoricalmap/ohm-editor-layer-index#dist",
"osm-community-index": "~5.6.2",
"postcss": "^8.4.38",
"postcss-selector-prepend": "^0.5.0",
"shelljs": "^0.8.0",
"shx": "^0.3.0",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
"smash": "0.0",
"static-server": "^2.2.1",
"svg-sprite": "2.0.4",
"vparse": "~1.1.0"
},
"engines": {
"node": ">=18"
},
"browserslist": [
"> 0.3%, last 6 major versions, not dead, Firefox ESR, maintained node versions"
]
}