mirror of
https://github.com/mapillary/mapillary-js.git
synced 2026-01-25 14:07:28 +00:00
This results in a css file size that is 25 kb larger than before. We determine that it is negligible compared to library usage data size.
105 lines
3.5 KiB
JSON
105 lines
3.5 KiB
JSON
{
|
|
"name": "mapillary-js",
|
|
"version": "3.1.0",
|
|
"description": "A WebGL interactive street imagery library",
|
|
"main": "dist/mapillary.js",
|
|
"module": "dist/mapillary.module.js",
|
|
"style": "dist/mapillary.css",
|
|
"types": "dist/mapillary.d.ts",
|
|
"type": "module",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"3d",
|
|
"computational-geometry",
|
|
"imagery",
|
|
"mapillary",
|
|
"spatial-visualization",
|
|
"renderer",
|
|
"street-imagery",
|
|
"typescript",
|
|
"viewer",
|
|
"webgl"
|
|
],
|
|
"repository": "mapillary/mapillary-js",
|
|
"homepage": "https://github.com/mapillary/mapillary-js",
|
|
"bugs": {
|
|
"url": "https://github.com/mapillary/mapillary-js/issues"
|
|
},
|
|
"dependencies": {
|
|
"@mapbox/unitbezier": "0.0.0",
|
|
"earcut": "^2.2.2",
|
|
"falcor": "^0.1.17",
|
|
"falcor-http-datasource": "^0.1.3",
|
|
"latlon-geohash": "^1.1.0",
|
|
"martinez-polygon-clipping": "^0.7.0",
|
|
"pako": "^2.0.3",
|
|
"pbf": "^3.2.1",
|
|
"polylabel": "^1.1.0",
|
|
"rbush": "^3.0.1",
|
|
"rxjs": "^6.5.5",
|
|
"s2-geometry": "^1.2.10",
|
|
"three": "^0.125.2",
|
|
"virtual-dom": "^2.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@rollup/plugin-commonjs": "^17.1.0",
|
|
"@rollup/plugin-node-resolve": "^11.1.1",
|
|
"@rollup/plugin-virtual": "^2.0.3",
|
|
"@types/earcut": "^2.1.1",
|
|
"@types/falcor": "^0.1.22",
|
|
"@types/falcor-http-datasource": "^0.1.19",
|
|
"@types/jest": "^26.0.20",
|
|
"@types/latlon-geohash": "^1.1.0",
|
|
"@types/node": "^14.14.31",
|
|
"@types/pako": "^1.0.1",
|
|
"@types/pbf": "^3.0.2",
|
|
"@types/polylabel": "^1.0.5",
|
|
"@types/rbush": "^3.0.0",
|
|
"@types/three": "^0.125.3",
|
|
"@types/virtual-dom": "^2.1.0",
|
|
"autoprefixer": "^10.2.4",
|
|
"concurrently": "^6.0.0",
|
|
"express": "^4.17.1",
|
|
"jest": "^26.6.3",
|
|
"postcss": "^8.2.6",
|
|
"postcss-cli": "^8.3.1",
|
|
"postcss-inline-svg": "^5.0.0",
|
|
"rollup": "^2.38.1",
|
|
"rollup-plugin-dts": "^2.0.1",
|
|
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
"rollup-plugin-terser": "^7.0.2",
|
|
"tslint": "^6.1.2",
|
|
"typedoc": "^0.20.28",
|
|
"typedoc-default-themes": "^0.12.7",
|
|
"typescript": "^4.2.2"
|
|
},
|
|
"browserslist": [
|
|
"last 2 versions"
|
|
],
|
|
"scripts": {
|
|
"build": "yarn build-styles && yarn build-src",
|
|
"build-docs": "typedoc --options typedoc.json",
|
|
"build-src": "yarn compile && yarn bundle",
|
|
"build-styles": "cat styles/*.css | postcss -o dist/mapillary.css",
|
|
"bundle": "rollup -c",
|
|
"bundle-watch": "rollup -w --no-watch.clearScreen -c rollup.umd.config.js",
|
|
"clean": "yarn clean-build && yarn clean-dist && yarn clean-docs",
|
|
"clean-build": "rm -rf build",
|
|
"clean-dist": "rm -rf dist && mkdir dist",
|
|
"clean-docs": "rm -rf docs/build",
|
|
"compile": "tsc -p tsconfig.json",
|
|
"compile-incremental": "tsc --incremental -p tsconfig.json",
|
|
"compile-test": "tsc -p tsconfig.test.json",
|
|
"compile-watch": "tsc -w --incremental --preserveWatchOutput -p tsconfig.json",
|
|
"lint": "yarn lint-spec && yarn 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": "yarn clean && yarn lint && yarn build",
|
|
"serve": "node server.js",
|
|
"serve-docs": "python3 -m http.server",
|
|
"start": "yarn start-init && concurrently --kill-others-on-fail -n 'compile,bundle,serve' 'yarn compile-watch' 'yarn bundle-watch' 'yarn serve'",
|
|
"start-init": "yarn clean-build && yarn clean-dist && yarn build-styles && yarn compile-incremental",
|
|
"test": "yarn clean-build && yarn compile-test && jest"
|
|
}
|
|
}
|