mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-18 13:56:53 +00:00
106 lines
3.7 KiB
JSON
106 lines
3.7 KiB
JSON
{
|
|
"name": "mapillary-js",
|
|
"version": "2.18.1",
|
|
"description": "WebGL JavaScript library for displaying street level imagery from mapillary.com",
|
|
"main": "dist/mapillary.min",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/mapillary/mapillary-js#readme",
|
|
"keywords": [
|
|
"mapillary",
|
|
"webgl",
|
|
"viewer"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mapillary/mapillary-js.git"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/mapillary/mapillary-js/issues"
|
|
},
|
|
"dependencies": {
|
|
"earcut": "^2.1.3",
|
|
"falcor": "^0.1.17",
|
|
"falcor-http-datasource": "^0.1.3",
|
|
"latlon-geohash": "^1.1.0",
|
|
"martinez-polygon-clipping": "^0.5.0",
|
|
"pako": "^1.0.10",
|
|
"pbf": "^3.1.0",
|
|
"rbush": "^2.0.2",
|
|
"rxjs": "^6.3.3",
|
|
"three": "^0.95.0",
|
|
"virtual-dom": "^2.1.1",
|
|
"when": "^3.7.8"
|
|
},
|
|
"devDependencies": {
|
|
"@mapbox/polylabel": "^1.0.2",
|
|
"@mapbox/unitbezier": "0.0.0",
|
|
"@types/earcut": "^2.1.0",
|
|
"@types/falcor": "^0.1.22",
|
|
"@types/falcor-http-datasource": "^0.1.19",
|
|
"@types/jasmine": "^2.8.9",
|
|
"@types/latlon-geohash": "^1.1.0",
|
|
"@types/node": "^10.11.4",
|
|
"@types/pako": "^1.0.1",
|
|
"@types/rbush": "^2.0.2",
|
|
"@types/three": "^0.92.24",
|
|
"@types/virtual-dom": "^2.1.0",
|
|
"@types/when": "^2.4.33",
|
|
"autoprefixer": "^9.1.5",
|
|
"brfs": "^2.0.1",
|
|
"browserify": "^16.2.3",
|
|
"browserify-middleware": "^8.1.1",
|
|
"cssnano": "^4.1.4",
|
|
"exorcist": "^1.0.1",
|
|
"express": "^4.16.3",
|
|
"husky": "^1.1.1",
|
|
"jasmine-core": "^3.2.1",
|
|
"karma": "^3.0.0",
|
|
"karma-browserify": "^5.3.0",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-firefox-launcher": "^1.1.0",
|
|
"karma-jasmine": "^1.1.2",
|
|
"postcss-cli": "^6.0.0",
|
|
"postcss-middleware": "^1.1.4",
|
|
"tsify": "^4.0.0",
|
|
"tslint": "^5.11.0",
|
|
"typedoc": "^0.12.0",
|
|
"typedoc-default-themes": "~0.5.0",
|
|
"typescript": "^3.1.1",
|
|
"uglify-js": "^3.4.9",
|
|
"watchify": "^3.11.0"
|
|
},
|
|
"browser": {
|
|
"falcor": "./node_modules/falcor/dist/falcor.browser.min.js",
|
|
"three": "./node_modules/three/build/three.min.js"
|
|
},
|
|
"browserslist": [
|
|
"last 2 versions",
|
|
"safari 7",
|
|
"ie 11"
|
|
],
|
|
"scripts": {
|
|
"build-css": "cat styles/*.css | postcss --use autoprefixer --use cssnano -o dist/mapillary.min.css",
|
|
"build-dev": "browserify src/Mapillary.ts --plugin tsify --transform brfs --standalone Mapillary --debug | exorcist dist/mapillary.js.map > dist/mapillary.js",
|
|
"build-watch": "watchify src/Mapillary.ts --plugin tsify --transform brfs --standalone Mapillary --debug -v -o 'exorcist dist/mapillary.js.map > dist/mapillary.js'",
|
|
"build-docs": "typedoc --tsconfig tsconfig.docs.json --mode file --theme default --excludePrivate --excludeProtected --excludeExternals --name MapillaryJS --out docs/",
|
|
"build-min": "browserify src/Mapillary.ts --plugin tsify --transform brfs --standalone Mapillary | uglifyjs -m > dist/mapillary.min.js",
|
|
"clean": "npm run clean-dist && npm run clean-docs",
|
|
"clean-dist": "rm -rf dist && mkdir dist",
|
|
"clean-docs": "rm -rf docs",
|
|
"copy-assets": "cp -a styles/*.svg dist",
|
|
"lint": "npm run lint-spec && npm run lint-src",
|
|
"lint-spec": "tslint -c tslint.json -p tsconfig.json \"spec/**/*.ts\"",
|
|
"lint-src": "tslint -c tslint.json -p tsconfig.json \"src/**/*.ts\"",
|
|
"prepare": "npm run clean && npm run lint-src && npm run build-min && npm run build-dev && npm run build-css && npm run copy-assets",
|
|
"start": "node server.js",
|
|
"test": "karma start --single-run",
|
|
"test-watch": "karma start"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint -q",
|
|
"pre-push": "npm test -q"
|
|
}
|
|
}
|
|
}
|