diff --git a/package.json b/package.json index f76a66f2b..d351f28d0 100644 --- a/package.json +++ b/package.json @@ -1,127 +1,126 @@ { - "name": "iD", - "version": "2.18.5-dev", - "description": "A friendly editor for OpenStreetMap", - "main": "dist/iD.min.js", - "repository": "github:openstreetmap/iD", - "homepage": "https://github.com/openstreetmap/iD", - "bugs": "https://github.com/openstreetmap/iD/issues", - "keywords": [ - "editor", - "openstreetmap" - ], - "license": "ISC", - "scripts": { - "all": "npm-run-all -s clean build build:legacy dist", - "build": "npm-run-all -s build:css build:data build:dev", - "build:css": "node scripts/build_css.js", - "build:data": "shx mkdir -p dist/data && node scripts/build_data.js", - "build:dev": "rollup --config config/rollup.config.dev.js", - "build:legacy": "rollup --config config/rollup.config.legacy.js", - "build:stats": "rollup --config config/rollup.config.stats.js", - "clean": "shx rm -f dist/*.js dist/*.map dist/*.css dist/img/*.svg", - "dist": "npm-run-all -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-streetside && shx cp -R node_modules/pannellum/build/* dist/pannellum-streetside/", - "dist:min:iD": "uglifyjs dist/iD.legacy.js --compress --mangle --output dist/iD.min.js", - "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:tnp": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"tnp-%s\" --symbol-sprite dist/img/tnp-sprite.svg svg/the-noun-project/*.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/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/mapillary_sprite_source/package_objects/*.svg", - "dist:svg:temaki": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"temaki-%s\" --symbol-sprite dist/img/temaki-sprite.svg node_modules/@ideditor/temaki/icons/*.svg", - "imagery": "node scripts/update_imagery.js", - "lint": "eslint scripts test/spec modules", - "start": "npm-run-all -s build start:server", - "quickstart": "npm-run-all -s build:dev start:server", - "start:server": "node scripts/server.js", - "test": "npm-run-all -s lint build:css build:data build:legacy test:spec", - "test:spec": "phantomjs --web-security=no node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html spec", - "translations": "node scripts/update_locales.js" - }, - "dependencies": { - "@ideditor/country-coder": "^3.2.0", - "@ideditor/location-conflation": "~0.3.0", - "@mapbox/sexagesimal": "1.2.0", - "@mapbox/togeojson": "0.16.0", - "@mapbox/vector-tile": "^1.3.1", - "@turf/bbox-clip": "^6.0.0", - "abortcontroller-polyfill": "^1.4.0", - "aes-js": "^3.1.2", - "alif-toolkit": "^1.2.9", - "all": "0.0.0", - "browser-polyfills": "~1.5.0", - "diacritics": "1.3.0", - "fast-deep-equal": "~3.1.1", - "fast-json-stable-stringify": "2.1.0", - "lodash-es": "~4.17.15", - "marked": "1.0.0", - "martinez-polygon-clipping": "0.7.0", - "node-diff3": "2.1.0", - "osm-auth": "1.0.2", - "pannellum": "2.5.6", - "rbush": "3.0.1", - "string.fromcodepoint": "1.0.0", - "which-polygon": "2.2.0" - }, - "devDependencies": { - "@fortawesome/fontawesome-svg-core": "^1.2.28", - "@fortawesome/free-brands-svg-icons": "~5.14.0", - "@fortawesome/free-regular-svg-icons": "~5.14.0", - "@fortawesome/free-solid-svg-icons": "~5.14.0", - "@ideditor/temaki": "~4.0.0", - "@mapbox/maki": "^6.0.0", - "@rollup/plugin-buble": "^0.21.0", - "@rollup/plugin-commonjs": "^14.0.0", - "@rollup/plugin-json": "^4.0.1", - "@rollup/plugin-node-resolve": "~8.1.0", - "autoprefixer": "^9.8.4", - "chai": "^4.1.0", - "cldr-core": "36.0.0", - "cldr-localenames-full": "36.0.0", - "colors": "^1.1.2", - "concat-files": "^0.1.1", - "d3": "~5.16.0", - "editor-layer-index": "github:osmlab/editor-layer-index#gh-pages", - "eslint": "^7.1.0", - "gaze": "^1.1.3", - "glob": "^7.1.0", - "happen": "^0.3.1", - "js-yaml": "^3.14.0", - "json-stringify-pretty-compact": "^2.0.0", - "jsonschema": "^1.1.0", - "mapillary-js": "~2.20.0", - "mapillary_sprite_source": "^1.8.0", - "minimist": "^1.2.3", - "mocha": "^7.0.1", - "mocha-phantomjs-core": "^2.1.0", - "name-suggestion-index": "4.0.2", - "npm-run-all": "^4.0.0", - "object-inspect": "1.3.0", - "osm-community-index": "2.1.1", - "phantomjs-prebuilt": "~2.1.11", - "postcss": "^7.0.27", - "postcss-selector-prepend": "^0.5.0", - "request": "^2.88.0", - "rollup": "~2.23.0", - "rollup-plugin-includepaths": "~0.2.3", - "rollup-plugin-progress": "^1.1.1", - "rollup-plugin-visualizer": "~4.0.4", - "shelljs": "^0.8.0", - "shx": "^0.3.0", - "sinon": "7.5.0", - "sinon-chai": "^3.3.0", - "smash": "0.0", - "static-server": "^2.2.1", - "svg-sprite": "1.5.0", - "uglify-js": "~3.10.0" - }, - "engines": { - "node": ">=10" - }, - "browserslist": [ - "> 0.2%, last 6 major versions, Firefox ESR, maintained node versions" - ] + "name": "iD", + "version": "2.18.5-dev", + "description": "A friendly editor for OpenStreetMap", + "main": "dist/iD.min.js", + "repository": "github:openstreetmap/iD", + "homepage": "https://github.com/openstreetmap/iD", + "bugs": "https://github.com/openstreetmap/iD/issues", + "keywords": [ + "editor", + "openstreetmap" + ], + "license": "ISC", + "scripts": { + "all": "npm-run-all -s clean build build:legacy dist", + "build": "npm-run-all -s build:css build:data build:dev", + "build:css": "node scripts/build_css.js", + "build:data": "shx mkdir -p dist/data && node scripts/build_data.js", + "build:dev": "rollup --config config/rollup.config.dev.js", + "build:legacy": "rollup --config config/rollup.config.legacy.js", + "build:stats": "rollup --config config/rollup.config.stats.js", + "clean": "shx rm -f dist/*.js dist/*.map dist/*.css dist/img/*.svg", + "dist": "npm-run-all -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-streetside && shx cp -R node_modules/pannellum/build/* dist/pannellum-streetside/", + "dist:min:iD": "uglifyjs dist/iD.legacy.js --compress --mangle --output dist/iD.min.js", + "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:tnp": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"tnp-%s\" --symbol-sprite dist/img/tnp-sprite.svg svg/the-noun-project/*.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/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/mapillary_sprite_source/package_objects/*.svg", + "dist:svg:temaki": "svg-sprite --symbol --symbol-dest . --shape-id-generator \"temaki-%s\" --symbol-sprite dist/img/temaki-sprite.svg node_modules/@ideditor/temaki/icons/*.svg", + "imagery": "node scripts/update_imagery.js", + "lint": "eslint scripts test/spec modules", + "start": "npm-run-all -s build start:server", + "quickstart": "npm-run-all -s build:dev start:server", + "start:server": "node scripts/server.js", + "test": "npm-run-all -s lint build:css build:data build:legacy test:spec", + "test:spec": "phantomjs --web-security=no node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html spec", + "translations": "node scripts/update_locales.js" + }, + "dependencies": { + "@ideditor/country-coder": "^3.2.0", + "@ideditor/location-conflation": "~0.3.0", + "@mapbox/sexagesimal": "1.2.0", + "@mapbox/togeojson": "0.16.0", + "@mapbox/vector-tile": "^1.3.1", + "@turf/bbox-clip": "^6.0.0", + "abortcontroller-polyfill": "^1.4.0", + "aes-js": "^3.1.2", + "alif-toolkit": "^1.2.9", + "browser-polyfills": "~1.5.0", + "diacritics": "1.3.0", + "fast-deep-equal": "~3.1.1", + "fast-json-stable-stringify": "2.1.0", + "lodash-es": "~4.17.15", + "marked": "1.0.0", + "martinez-polygon-clipping": "0.7.0", + "node-diff3": "2.1.0", + "osm-auth": "1.0.2", + "pannellum": "2.5.6", + "rbush": "3.0.1", + "string.fromcodepoint": "1.0.0", + "which-polygon": "2.2.0" + }, + "devDependencies": { + "@fortawesome/fontawesome-svg-core": "^1.2.28", + "@fortawesome/free-brands-svg-icons": "~5.14.0", + "@fortawesome/free-regular-svg-icons": "~5.14.0", + "@fortawesome/free-solid-svg-icons": "~5.14.0", + "@ideditor/temaki": "~4.0.0", + "@mapbox/maki": "^6.0.0", + "@rollup/plugin-buble": "^0.21.0", + "@rollup/plugin-commonjs": "^14.0.0", + "@rollup/plugin-json": "^4.0.1", + "@rollup/plugin-node-resolve": "~8.1.0", + "autoprefixer": "^9.8.4", + "chai": "^4.1.0", + "cldr-core": "36.0.0", + "cldr-localenames-full": "36.0.0", + "colors": "^1.1.2", + "concat-files": "^0.1.1", + "d3": "~5.16.0", + "editor-layer-index": "github:osmlab/editor-layer-index#gh-pages", + "eslint": "^7.1.0", + "gaze": "^1.1.3", + "glob": "^7.1.0", + "happen": "^0.3.1", + "js-yaml": "^3.14.0", + "json-stringify-pretty-compact": "^2.0.0", + "jsonschema": "^1.1.0", + "mapillary-js": "~2.20.0", + "mapillary_sprite_source": "^1.8.0", + "minimist": "^1.2.3", + "mocha": "^7.0.1", + "mocha-phantomjs-core": "^2.1.0", + "name-suggestion-index": "4.0.2", + "npm-run-all": "^4.0.0", + "object-inspect": "1.3.0", + "osm-community-index": "2.1.1", + "phantomjs-prebuilt": "~2.1.11", + "postcss": "^7.0.27", + "postcss-selector-prepend": "^0.5.0", + "request": "^2.88.0", + "rollup": "~2.23.0", + "rollup-plugin-includepaths": "~0.2.3", + "rollup-plugin-progress": "^1.1.1", + "rollup-plugin-visualizer": "~4.0.4", + "shelljs": "^0.8.0", + "shx": "^0.3.0", + "sinon": "7.5.0", + "sinon-chai": "^3.3.0", + "smash": "0.0", + "static-server": "^2.2.1", + "svg-sprite": "1.5.0", + "uglify-js": "~3.10.0" + }, + "engines": { + "node": ">=10" + }, + "browserslist": [ + "> 0.2%, last 6 major versions, Firefox ESR, maintained node versions" + ] }