{ "name": "mapillary-js", "version": "4.0.0-beta.0", "description": "A WebGL interactive street imagery library", "license": "MIT", "main": "dist/mapillary.js", "module": "dist/mapillary.module.js", "style": "dist/mapillary.css", "types": "dist/mapillary.d.ts", "type": "module", "keywords": [ "3d", "computational-geometry", "imagery", "mapillary", "spatial-visualization", "renderer", "street-imagery", "typescript", "viewer", "webgl" ], "repository": "github:mapillary/mapillary-js", "homepage": "https://mapillary.github.io/mapillary-js", "bugs": { "url": "https://github.com/mapillary/mapillary-js/issues" }, "browserslist": [ "last 2 versions" ], "dependencies": { "@mapbox/unitbezier": "0.0.0", "@types/earcut": "^2.1.1", "@types/falcor": "^0.1.22", "@types/falcor-http-datasource": "^0.1.19", "@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", "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/jest": "^26.0.20", "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" }, "scripts": { "build": "yarn build-styles && yarn build-src", "build-docs": "typedoc --options ./config/typedoc.json", "build-src": "yarn compile && yarn bundle", "build-styles": "cat styles/*.css | postcss --config ./config -o dist/mapillary.css", "bundle": "rollup -c", "bundle-watch": "rollup -w --no-watch.clearScreen -c ./config/rollup.serve.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 ./config/tsconfig.test.json", "compile-watch": "tsc -w --incremental --preserveWatchOutput -p tsconfig.json", "lint": "yarn lint-test && yarn lint-src", "lint-src": "tslint -c ./config/tslint.json -p tsconfig.json \"src/**/*.ts\"", "lint-test": "tslint -c ./config/tslint.json -p tsconfig.json \"test/**/*.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" }, "files": [ "dist/", "src/", "styles/", "types/", "CHANGELOG.md", "LICENCE", "README.md", "package.json", "tsconfig.json" ] }