mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
Node server does not need build folder because it generates javascript and sourcemap on the fly.
103 lines
3.3 KiB
JSON
103 lines
3.3 KiB
JSON
{
|
|
"name": "mapillary-js",
|
|
"version": "1.4.2",
|
|
"description": "WebGL JavaScript library for displaying street level imagery from mapillary.com",
|
|
"main": "dist/mapillary-js.min",
|
|
"scripts": {
|
|
"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 > dist/mapillary-js.min.js",
|
|
"clean": "rm -rf dist && mkdir dist",
|
|
"gulp": "gulp",
|
|
"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 build-min && npm run build-dev && gulp css",
|
|
"start":"node server.js",
|
|
"test": "karma start --single-run",
|
|
"test-watch": "karma start",
|
|
"typings": "typings"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mapillary/mapillary-js.git"
|
|
},
|
|
"keywords": [
|
|
"mapillary",
|
|
"webgl",
|
|
"viewer"
|
|
],
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/mapillary/mapillary-js/issues"
|
|
},
|
|
"homepage": "https://github.com/mapillary/mapillary-js#readme",
|
|
"devDependencies": {
|
|
"brfs": "^1.4.1",
|
|
"browser-sync": "^2.12.3",
|
|
"browserify": "^13.0.0",
|
|
"browserify-middleware": "^7.0.0",
|
|
"del": "^2.2.0",
|
|
"exorcist": "^0.4.0",
|
|
"express": "^4.14.0",
|
|
"ghooks": "^1.2.1",
|
|
"gulp": "~3.9.0",
|
|
"gulp-autoprefixer": "3.1.0",
|
|
"gulp-concat": "2.6.0",
|
|
"gulp-documentation": "^2.2.0",
|
|
"gulp-minify-css": "^1.2.4",
|
|
"gulp-rename": "1.2.2",
|
|
"gulp-shell": "^0.5.2",
|
|
"gulp-sourcemaps": "1.6.0",
|
|
"gulp-standard": "^6.0.5",
|
|
"gulp-tslint": "^4.3.5",
|
|
"gulp-typedoc": "^2.0.0",
|
|
"gulp-typescript": "^2.13.0",
|
|
"gulp-util": "3.0.7",
|
|
"jasmine-core": "^2.4.1",
|
|
"karma": "^0.13.19",
|
|
"karma-browserify": "^5.0.3",
|
|
"karma-chrome-launcher": "^0.2.3",
|
|
"karma-firefox-launcher": "0.1.7",
|
|
"karma-jasmine": "^0.3.8",
|
|
"tsify": "^0.16.0",
|
|
"tslint": "3.7.4",
|
|
"typedoc": "^0.4.4",
|
|
"typedoc-default-themes": "^0.4.0",
|
|
"typescript": "^1.8.10",
|
|
"typings": "^1.0.4",
|
|
"uglify-js": "^2.7.0",
|
|
"uglifyify": "^3.0.1",
|
|
"vinyl-buffer": "1.0.0",
|
|
"vinyl-source-stream": "1.1.0",
|
|
"watchify": "3.7.0",
|
|
"yargs": "^4.6.0"
|
|
},
|
|
"config": {
|
|
"ghooks": {
|
|
"pre-commit": "npm run lint",
|
|
"pre-push": "npm run test"
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"falcor": "^0.1.16",
|
|
"falcor-http-datasource": "^0.1.3",
|
|
"graphlib": "^2.1.0",
|
|
"latlon-geohash": "^1.0.1",
|
|
"pbf": "^1.3.5",
|
|
"rbush": "~1.4.1",
|
|
"rest": "~1.3.1",
|
|
"rx": "^4.0.7",
|
|
"three": "^0.76.1",
|
|
"underscore": "~1.8.3",
|
|
"unitbezier": "0.0.0",
|
|
"virtual-dom": "^2.1.1",
|
|
"when": "~3.7.4"
|
|
},
|
|
"browser": {
|
|
"rx": "./node_modules/rx/dist/rx.all.min.js",
|
|
"three": "./node_modules/three/three.min.js"
|
|
}
|
|
}
|