-
Notifications
You must be signed in to change notification settings - Fork 302
/
package.json
129 lines (129 loc) · 4.9 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "itowns",
"version": "2.44.2",
"description": "A JS/WebGL framework for 3D geospatial data visualization",
"type": "module",
"main": "lib/Main.js",
"exports": {
".": "./lib/Main.js",
"./widgets": "./lib/Utils/gui/Main.js"
},
"scripts": {
"lint": "eslint \"src/**/*.{js,ts,tsx}\" \"test/**/*.js\" \"examples/**/*.js\" \"docs/*.js\"",
"doc": "jsdoc --readme docs/HOMEPAGE.md -c docs/config.json",
"doclint": "npm run doc -- -t templates/silent",
"test": "npm run lint -- --max-warnings=0 && npm run build && npm run test-with-coverage && npm run test-functional",
"test-dev": "npm run lint -- --max-warnings=0 && npm run build-dev && npm run test-with-coverage && npm run test-functional",
"test-unit": "npm run base-test-unit test/unit",
"test-functional": "mocha -t 100000 --require test/hooks_functional.js --recursive test/functional",
"test-with-coverage": "c8 -n src -r html cross-env npm run test-unit",
"test-with-coverage_lcov": "c8 -n src --reporter=lcov cross-env npm run test-unit",
"base-test-unit": "cross-env BABEL_DISABLE_CACHE=1 mocha --file test/unit/bootstrap.js --import=./config/babel-register/register.mjs",
"build": "cross-env NODE_ENV=production webpack",
"build-dev": "cross-env NODE_ENV=development webpack",
"transpile": "cross-env BABEL_DISABLE_CACHE=1 babel src --out-dir lib",
"start": "cross-env NODE_ENV=development webpack serve",
"start-https": "cross-env NODE_ENV=development webpack serve --https",
"debug": "cross-env noInline=true npm start",
"prepublishOnly": "npm run build && npm run transpile",
"prepare": "cross-env NO_UPDATE_NOTIFIER=true node ./config/prepare.mjs && node ./config/replace.config.mjs",
"watch": "cross-env BABEL_DISABLE_CACHE=1 babel --watch src --out-dir lib",
"changelog": "conventional-changelog -n ./config/conventionalChangelog/config.cjs -i changelog.md -s",
"bump": "if [ -z $npm_config_level ]; then grunt bump:minor; else grunt bump:$npm_config_level; fi && npm run changelog && npm install && git add -A && git commit --amend --no-edit",
"publish-next": "npm version prerelease --preid next && npm publish --access public --tag=next --provenance",
"publish-latest": "npm publish --access public --tag=latest --provenance"
},
"c8": {
"exclude": [
"**/*ThreeExtended",
"**/*src/Utils/placeObjectOnGround.js",
"**/*src/Parser/deprecated/LegacyGLTFLoader.js"
]
},
"files": [
"*.md",
"dist",
"lib",
"doc",
"examples"
],
"repository": {
"type": "git",
"url": "git+https://github.com/iTowns/itowns.git"
},
"license": "(CECILL-B OR MIT)",
"bugs": {
"url": "https://github.com/iTowns/itowns/issues"
},
"homepage": "https://itowns.github.io/",
"dependencies": {
"@mapbox/mapbox-gl-style-spec": "^13.28.0",
"@mapbox/vector-tile": "^2.0.3",
"@tmcw/togeojson": "^5.8.1",
"@tweenjs/tween.js": "^25.0.0",
"3d-tiles-renderer": "^0.3.38",
"brotli-compress": "^1.3.3",
"copc": "^0.0.6",
"earcut": "^3.0.0",
"js-priority-queue": "^0.1.5",
"pbf": "^4.0.1",
"shpjs": "^6.1.0",
"threads": "^1.7.0"
},
"peerDependencies": {
"proj4": "^2.12.1",
"three": "^0.168.0"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/plugin-transform-runtime": "^7.25.4",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@babel/register": "^7.24.6",
"@stylistic/eslint-plugin": "^2.8.0",
"@types/proj4": "^2.5.5",
"@types/three": "^0.168.0",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"@xmldom/xmldom": "^0.9.2",
"babel-inline-import-loader": "^1.0.1",
"babel-loader": "^9.2.1",
"babel-plugin-inline-import": "^3.0.0",
"babel-plugin-minify-dead-code-elimination": "^0.5.2",
"babel-plugin-minify-replace": "^0.5.0",
"babel-plugin-module-extension-resolver": "^1.0.0",
"babel-plugin-module-resolver": "^5.0.2",
"c8": "^10.1.2",
"chalk": "^5.3.0",
"chart.js": "^4.4.4",
"compare-func": "^2.0.0",
"conventional-changelog-cli": "^4.1.0",
"copyfiles": "^2.4.1",
"core-js": "^3.38.1",
"cross-env": "^7.0.3",
"eslint": "^8.55.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-import-resolver-babel-module": "^5.3.2",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-tsdoc": "^0.3.0",
"eslint-webpack-plugin": "^4.2.0",
"github-url-from-git": "^1.5.0",
"grunt": "^1.6.1",
"grunt-bump": "^0.8.0",
"https-proxy-agent": "^7.0.5",
"jsdoc": "^4.0.3",
"mocha": "^10.7.3",
"proj4": "^2.12.1",
"puppeteer": "^23.3.1",
"q": "^1.5.1",
"replace-in-file": "^8.1.0",
"sinon": "^19.0.2",
"three": "^0.168.0",
"typescript": "^5.6.2",
"webgl-mock": "^0.1.7",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
}
}