mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-18 13:56:53 +00:00
93 lines
3.4 KiB
JSON
93 lines
3.4 KiB
JSON
{
|
|
"name": "mapillary-js",
|
|
"version": "2.10.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": {
|
|
"@mapbox/polylabel": "^1.0.2",
|
|
"@mapbox/unitbezier": "0.0.0",
|
|
"earcut": "^2.1.2",
|
|
"falcor": "^0.1.17",
|
|
"falcor-http-datasource": "^0.1.3",
|
|
"latlon-geohash": "^1.1.0",
|
|
"pbf": "^3.1.0",
|
|
"rbush": "^2.0.1",
|
|
"rxjs": "^5.5.2",
|
|
"three": "^0.88.0",
|
|
"underscore": "^1.8.3",
|
|
"virtual-dom": "^2.1.1",
|
|
"when": "^3.7.8"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^7.1.6",
|
|
"brfs": "^1.4.3",
|
|
"browserify": "^14.5.0",
|
|
"browserify-middleware": "^8.0.0",
|
|
"cssnano": "^3.10.0",
|
|
"exorcist": "^1.0.0",
|
|
"express": "^4.16.2",
|
|
"husky": "^0.14.3",
|
|
"jasmine-core": "^2.8.0",
|
|
"karma": "^1.7.1",
|
|
"karma-browserify": "^5.1.2",
|
|
"karma-chrome-launcher": "^2.2.0",
|
|
"karma-firefox-launcher": "^1.0.1",
|
|
"karma-jasmine": "^1.1.0",
|
|
"postcss-cli": "^4.1.1",
|
|
"postcss-middleware": "^1.1.4",
|
|
"tsify": "^3.0.3",
|
|
"tslint": "^5.8.0",
|
|
"typedoc": "^0.9.0",
|
|
"typedoc-default-themes": "~0.5.0",
|
|
"typescript": "^2.6.1",
|
|
"typings": "~2.1.1",
|
|
"uglify-js": "^3.1.9",
|
|
"watchify": "^3.9.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 --excludeExternals --name MapillaryJS --out docs/",
|
|
"build-min": "browserify src/Mapillary.ts --plugin tsify --transform brfs --standalone Mapillary | uglifyjs -c -m > dist/mapillary.min.js",
|
|
"clean": "npm run clean-dist && npm run clean-docs && npm run clean-typings",
|
|
"clean-dist": "rm -rf dist && mkdir dist",
|
|
"clean-docs": "rm -rf docs",
|
|
"clean-typings": "rm -rf typings/modules && rm -rf typings/globals && rm -f typings/index.d.ts",
|
|
"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\"",
|
|
"precommit": "npm run lint -q",
|
|
"prepare": "npm run clean && typings install && npm run lint-src && npm run build-min && npm run build-dev && npm run build-css && npm run copy-assets",
|
|
"prepush": "npm test -q",
|
|
"start": "node server.js",
|
|
"test": "karma start --single-run",
|
|
"test-watch": "karma start",
|
|
"typings": "typings"
|
|
}
|
|
}
|