-
Notifications
You must be signed in to change notification settings - Fork 85
/
package.json
112 lines (112 loc) · 3.75 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "mapillary-js",
"version": "5.0.0-beta.1",
"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",
"geospatial",
"imagery",
"map-building",
"mapillary",
"renderer",
"spatial-visualization",
"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": {
"@types/earcut": "^2.1.1",
"@types/node": "^18.16.3",
"@types/pako": "^2.0.0",
"@types/pbf": "^3.0.2",
"@types/polylabel": "^1.0.5",
"@types/rbush": "^3.0.0",
"@types/three": "^0.152.0",
"@types/virtual-dom": "^2.1.1",
"earcut": "^2.2.4",
"martinez-polygon-clipping": "^0.7.3",
"pako": "^2.1.0",
"pbf": "^3.2.1",
"polylabel": "^1.1.0",
"rbush": "^3.0.1",
"rxjs": "^7.8.1",
"s2-geometry": "^1.2.10",
"three": "0.152.2",
"virtual-dom": "^2.1.1"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@types/jest": "^27.4.1",
"autoprefixer": "^10.4.14",
"caniuse-lite": "^1.0.30001482",
"concurrently": "^8.0.1",
"express": "^4.18.2",
"flowgen": "^1.21.0",
"jest": "^27.5.1",
"postcss": "^8.4.23",
"postcss-cli": "^10.1.0",
"postcss-inline-svg": "^6.0.0",
"rollup": "^3.21.4",
"rollup-plugin-dts": "^5.3.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"tslint": "^6.1.2",
"typescript": "^4.9.5"
},
"scripts": {
"build": "yarn build-styles && yarn build-src",
"build-flow": "yarn flowgen build/declarations/mapillary.js.flow",
"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",
"clear": "yarn clear-build && yarn clear-dist",
"clear-build": "rm -rf build",
"clear-token": "rm -rf doc/.access-token",
"clear-dist": "rm -rf dist && mkdir dist",
"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",
"copy-flow": "cp declarations/mapillary.js.flow dist/mapillary.js.flow && cp declarations/mapillary.js.flow dist/mapillary.module.js.flow",
"flowgen": "flowgen dist/mapillary.d.ts --add-flow-header -o",
"setup": "node ./config/init.js",
"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 clear && yarn lint && yarn build && yarn copy-flow",
"serve": "node server.js",
"serve-umd": "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 clear-build && yarn clear-dist && yarn build-styles && yarn compile-incremental",
"test": "yarn clear-build && yarn compile-test && jest"
},
"files": [
"dist/",
"src/",
"styles/",
"types/",
"CHANGELOG.md",
"LICENCE",
"README.md",
"package.json",
"tsconfig.json"
]
}