mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 01:02:58 +00:00
rollup-plugin-node-resolve seems unable to resolve d3 under npm2 which is installed by default with node 4. So this plugin adds an extra include path to help it find the d3 dependencies. npm3 flat dependencies: /node_modules/d3-selection npm2 hierarchical dependencies: /node_modules/d3/node_modules/d3-selection
84 lines
2.7 KiB
JSON
84 lines
2.7 KiB
JSON
{
|
|
"name": "iD",
|
|
"version": "2.4.1",
|
|
"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 build.js && node development_server.js",
|
|
"clean": "shx rm -f dist/*.js dist/*.map dist/*.css dist/img/*.svg",
|
|
"dist": "npm-run-all -p dist:**",
|
|
"dist:css": "shx cat css/*.css > dist/iD.css",
|
|
"dist:mapillary": "shx mkdir -p dist/mapillary-js && shx cp -R node_modules/mapillary-js/dist/* dist/mapillary-js/",
|
|
"dist:min": "uglifyjs dist/iD.js -c warnings=false -m -o dist/iD.min.js",
|
|
"dist:svg:maki": "svg-sprite --symbol --symbol-dest . --symbol-sprite dist/img/maki-sprite.svg node_modules/@mapbox/maki/icons/*.svg",
|
|
"dist:svg:id": "node svg/spriteify.js --svg svg/iD-sprite.src.svg --json svg/iD-sprite.json > dist/img/iD-sprite.svg",
|
|
"imagery": "node data/update_imagery",
|
|
"lint": "eslint *.js js/id test/spec modules",
|
|
"start": "node development_server.js develop",
|
|
"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": {
|
|
"diacritics": "1.3.0",
|
|
"lodash-es": "4.17.4",
|
|
"marked": "0.3.6",
|
|
"osm-auth": "1.0.2",
|
|
"rbush": "2.0.1",
|
|
"@mapbox/sexagesimal": "1.1.0",
|
|
"@mapbox/togeojson": "0.16.0",
|
|
"wmf-sitematrix": "0.1.4"
|
|
},
|
|
"devDependencies": {
|
|
"brfs": "1.4.3",
|
|
"chai": "^4.1.0",
|
|
"d3": "4.10.2",
|
|
"ecstatic": "^3.0.0",
|
|
"editor-layer-index": "osmlab/editor-layer-index.git#gh-pages",
|
|
"gaze": "^1.1.1",
|
|
"eslint": "^4.3.0",
|
|
"glob": "^7.1.0",
|
|
"happen": "^0.3.1",
|
|
"js-yaml": "^3.9.0",
|
|
"jsonschema": "^1.1.0",
|
|
"json-stable-stringify": "^1.0.1",
|
|
"lodash": "^4.17.0",
|
|
"@mapbox/maki": "^4.0.0",
|
|
"mapillary-js": "2.8.0",
|
|
"minimist": "^1.2.0",
|
|
"mocha": "^3.4.0",
|
|
"mocha-phantomjs-core": "^2.1.0",
|
|
"name-suggestion-index": "0.1.2",
|
|
"npm-run-all": "^4.0.0",
|
|
"phantomjs-prebuilt": "~2.1.11",
|
|
"request": "^2.81.0",
|
|
"rollup": "0.45.2",
|
|
"rollup-plugin-commonjs": "8.2.1",
|
|
"rollup-plugin-includepaths": "0.2.2",
|
|
"rollup-plugin-json": "2.2.0",
|
|
"rollup-plugin-node-resolve": "3.0.0",
|
|
"shelljs": "^0.7.5",
|
|
"shx": "^0.2.1",
|
|
"sinon": "^3.2.1",
|
|
"sinon-chai": "^2.13.0",
|
|
"smash": "0.0",
|
|
"svg-sprite": "1.3.7",
|
|
"uglify-js": "^3.0.0",
|
|
"xml2js": "^0.4.17",
|
|
"xmlbuilder": "^9.0.1"
|
|
},
|
|
"greenkeeper": {
|
|
"label": "chore-greenkeeper"
|
|
},
|
|
"engines": {
|
|
"node": ">=4.0.0"
|
|
}
|
|
}
|