加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 4.86 KB
一键复制 编辑 原始数据 按行查看 历史
Bryan Housel 提交于 2019-11-04 13:04 . Update dependencies
{
"name": "iD",
"version": "2.16.0",
"description": "A friendly editor for OpenStreetMap",
"main": "iD.js",
"repository": "openstreetmap/iD",
"keywords": [
"editor",
"openstreetmap"
],
"license": "ISC",
"scripts": {
"all": "npm-run-all -s clean build dist",
"build": "node development_server.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": "uglifyjs dist/iD.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/temaki/icons/*.svg",
"imagery": "node data/update_imagery",
"lint": "eslint *.js test/spec modules",
"start": "node development_server.js develop",
"phantom": "phantomjs --web-security=no node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/phantom.html spec",
"test": "npm-run-all -s lint build test:**",
"test:phantom": "phantomjs --web-security=no node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html spec",
"translations": "node data/update_locales"
},
"dependencies": {
"@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",
"alif-toolkit": "^1.2.6",
"browser-polyfills": "~1.5.0",
"country-coder": "^1.0.2",
"diacritics": "1.3.0",
"fast-deep-equal": "~2.0.1",
"fast-json-stable-stringify": "2.0.0",
"lodash-es": "~4.17.15",
"marked": "0.7.0",
"martinez-polygon-clipping": "0.5.0",
"node-diff3": "1.0.0",
"osm-auth": "1.0.2",
"pannellum": "2.4.1",
"q": "1.5.1",
"rbush": "2.0.2",
"which-polygon": "2.2.0",
"wmf-sitematrix": "0.1.4"
},
"devDependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.25",
"@fortawesome/free-brands-svg-icons": "^5.11.2",
"@fortawesome/free-regular-svg-icons": "^5.11.2",
"@fortawesome/free-solid-svg-icons": "^5.11.2",
"@mapbox/maki": "^6.0.0",
"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.9.2",
"editor-layer-index": "github:osmlab/editor-layer-index#gh-pages",
"eslint": "^6.3.0",
"gaze": "^1.1.3",
"glob": "^7.1.0",
"happen": "^0.3.1",
"js-yaml": "^3.13.1",
"json-stringify-pretty-compact": "^1.1.0",
"jsonschema": "^1.1.0",
"mapillary-js": "2.18.1",
"mapillary_sprite_source": "^1.8.0",
"minimist": "^1.2.0",
"mocha": "^6.2.2",
"mocha-phantomjs-core": "^2.1.0",
"name-suggestion-index": "3.3.0",
"npm-run-all": "^4.0.0",
"object-inspect": "0.4.0",
"osm-community-index": "1.0.0",
"phantomjs-prebuilt": "~2.1.11",
"request": "^2.88.0",
"rollup": "~1.26.2",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-includepaths": "~0.2.3",
"rollup-plugin-json": "~4.0.0",
"rollup-plugin-node-resolve": "~5.2.0",
"rollup-plugin-visualizer": "~2.7.2",
"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",
"temaki": "~2.1.0",
"uglify-js": "~3.6.6"
},
"greenkeeper": {
"label": "chore-greenkeeper",
"ignore": [
"pannellum",
"sinon"
]
},
"engines": {
"node": ">=8.0.0",
"npm": ">=5.0.0"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化