mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
Fix rxjs to avoid build errors because rxjs RC1 is built on typescript 2.0 which has new keywords. Update circle node version. Update Ubuntu node js install instruction.
91 lines
3.4 KiB
JSON
91 lines
3.4 KiB
JSON
{
|
|
"name": "mapillary-js",
|
|
"version": "1.7.2",
|
|
"description": "WebGL JavaScript library for displaying street level imagery from mapillary.com",
|
|
"main": "dist/mapillary-js.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.1",
|
|
"falcor": "^0.1.17",
|
|
"falcor-http-datasource": "^0.1.3",
|
|
"graphlib": "^2.1.1",
|
|
"latlon-geohash": "^1.0.1",
|
|
"pbf": "^2.0.1",
|
|
"rbush": "^2.0.1",
|
|
"rest": "~1.3.1",
|
|
"rxjs": "5.0.0-beta.12",
|
|
"three": "^0.80.1",
|
|
"underscore": "~1.8.3",
|
|
"unitbezier": "0.0.0",
|
|
"virtual-dom": "^2.1.1",
|
|
"when": "~3.7.4"
|
|
},
|
|
"devDependencies": {
|
|
"autoprefixer": "^6.3.7",
|
|
"brfs": "^1.4.1",
|
|
"browserify": "^13.0.0",
|
|
"browserify-middleware": "^7.0.0",
|
|
"cssnano": "^3.7.3",
|
|
"exorcist": "^0.4.0",
|
|
"express": "^4.14.0",
|
|
"ghooks": "^1.2.1",
|
|
"jasmine-core": "^2.4.1",
|
|
"karma": "^1.2.0",
|
|
"karma-browserify": "^5.0.3",
|
|
"karma-firefox-launcher": "^1.0.0",
|
|
"karma-jasmine": "^1.0.2",
|
|
"postcss-cli": "^2.5.2",
|
|
"postcss-middleware": "^1.1.2",
|
|
"tsify": "^1.0.4",
|
|
"tslint": "3.15.1",
|
|
"typedoc": "^0.4.4",
|
|
"typedoc-default-themes": "^0.4.0",
|
|
"typescript": "^1.8.10",
|
|
"typings": "^1.3.3",
|
|
"uglify-js": "^2.7.0",
|
|
"watchify": "3.7.0"
|
|
},
|
|
"browser": {
|
|
"falcor": "./node_modules/falcor/dist/falcor.browser.min.js",
|
|
"three": "./node_modules/three/build/three.min.js"
|
|
},
|
|
"config": {
|
|
"ghooks": {
|
|
"pre-commit": "npm run lint",
|
|
"pre-push": "npm test"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"build-css": "cat styles/*.css | postcss --use autoprefixer --autoprefixer.browsers 'last 2 versions, safari 7, ie 11' --use cssnano -o dist/mapillary-js.min.css",
|
|
"build-dev": "browserify src/Mapillary.ts --plugin tsify --transform brfs --standalone Mapillary --debug | exorcist dist/mapillary-js.js.map > dist/mapillary-js.js",
|
|
"build-watch": "watchify src/Mapillary.ts --plugin tsify --transform brfs --standalone Mapillary --debug -v -o 'exorcist dist/mapillary-js.js.map > dist/mapillary-js.js'",
|
|
"build-docs": "typedoc --mode file --target ES5 --module commonjs --theme default --excludeExternals --name MapillaryJS --out docs/",
|
|
"build-min": "browserify src/Mapillary.ts --plugin tsify --transform brfs --standalone Mapillary | uglifyjs -c -m > dist/mapillary-js.min.js",
|
|
"clean": "npm run clean-dist && npm run clean-typings",
|
|
"clean-dist": "rm -rf dist && mkdir dist",
|
|
"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 ./spec/**/*.ts ./spec/**/**/*.ts",
|
|
"lint-src": "tslint -c tslint.json src/*.ts src/**/*.ts src/**/**/*.ts src/**/**/**/*.ts",
|
|
"prepublish": "npm run clean && npm run lint-src && typings install && 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",
|
|
"typings": "typings"
|
|
}
|
|
}
|