-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
108 lines (108 loc) · 4.82 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
{
"name": "3d-tiles-tools",
"version": "0.4.3",
"license": "Apache-2.0",
"description": "3D Tiles tools",
"author": {
"name": "Cesium GS, Inc. and Contributors"
},
"source": "./src/index.ts",
"exports": "./build/src/index.js",
"types": "./build/src/index.d.ts",
"bin": {
"3d-tiles-tools": "./build/src/cli.mjs"
},
"keywords": [
"3D Tiles"
],
"homepage": "https://github.com/CesiumGS/3d-tiles-tools",
"repository": {
"type": "git",
"url": "https://github.com/CesiumGS/3d-tiles-tools.git"
},
"bugs": {
"url": "https://github.com/CesiumGS/3d-tiles-tools/issues"
},
"engines": {
"node": ">=16.0.0"
},
"dependencies": {
"@gltf-transform/core": "^3.9.0",
"@gltf-transform/extensions": "^3.9.0",
"@gltf-transform/functions": "^3.9.0",
"archiver": "^5.3.1",
"better-sqlite3": "^8.0.1",
"cesium": "^1.103.0",
"draco3d": "^1.5.6",
"draco3dgltf": "^1.5.6",
"gltf-pipeline": "^4.1.0",
"gltfpack": "^0.19.1",
"meshoptimizer": "^0.19.0",
"minimist": "^1.2.7",
"node-stream-zip": "^1.15.0",
"pino": "^8.15.0",
"pino-pretty": "^10.2.0",
"seedrandom": "^3.0.5",
"sharp": "^0.32.1",
"yargs": "^17.5.1"
},
"devDependencies": {
"@microsoft/api-documenter": "^7.19.24",
"@microsoft/api-extractor": "^7.33.6",
"@types/jasmine": "^4.0.3",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"@types/yargs": "^17.0.22",
"c8": "^8.0.1",
"del-cli": "^5.0.0",
"eslint": "^8.23.1",
"eslint-config-cesium": "^9.0.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-node": "^11.1.0",
"glob": "^10.3.10",
"jasmine": "^4.3.0",
"mkdirp": "^1.0.4",
"nyc": "^15.1.0",
"prettier": "2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.3"
},
"scripts": {
"about:start": "echo 'Start the tools, as a TypeScript command line application'",
"about:eslint": "echo 'Perform linting of the source code. This may modify the source files.'",
"about:build": "echo 'Run the TypeScript compiler to generate the build output.'",
"about:build-post": "echo 'Perform any post-build steps'",
"about:test": "echo 'Execute the unit tests'",
"about:coverage": "echo 'Compute the test coverage'",
"about:prettier-check": "echo 'Check the formatting of the source code (without fixing formatting errors).'",
"about:prettier": "echo 'Ensure the right formatting of the source code, automatically fixing formatting errors.'",
"about:generate-third-party": "echo 'Update the ThirdParty.json file with the most recent dependency versions'",
"about:docs-prepare-directory": "echo 'Prepare the output directory for the API definition file'",
"about:docs-extract-api": "echo 'Extract the API definition file from the current build output.'",
"about:docs-generate-markdown": "echo 'Generate the API documentation based on the API definition file'",
"about:docs-generate": "echo 'Generate the API documentation based on the current build output'",
"about:docs": "echo 'Perform a build and generate the API documentation based on the build output'",
"about:package-clean": "echo 'Delete the contents of the 'build' output folder'",
"about:package-prepare": "echo 'Prepare a package: Linting, formatting, build, test, documentation, and third-party information updates'",
"about:package": "echo 'Prepare a package that can then be published on NPM'",
"start": "npx ts-node src/main.ts",
"eslint": "eslint \"./**/*.ts\" --cache",
"build": "tsc --build --verbose --force && npm run build-post",
"build-post": "npm run build-post-ktx && npm run build-post-cli",
"build-post-ktx": "npx copyfiles --flat ./src/ktx/ktx/external/basis_encoder.* ./build/src/ktx/ktx/external",
"build-post-cli": "npx copyfiles --flat ./bin/cli.mjs ./build/src",
"test": "npx ts-node node_modules/jasmine/bin/jasmine.js --config=specs/jasmine.json",
"coverage": "npx c8 --clean npm run test",
"prettier-check": "prettier --check \"**/*\"",
"prettier": "prettier --write \"**/*\"",
"generate-third-party": "node generateThirdParty.js",
"docs-prepare-directory": "mkdirp etc",
"docs-extract-api": "api-extractor run --config api-extractor.jsonc --local --verbose",
"docs-generate-markdown": "api-documenter markdown -i build/api-extractor -o build/docs",
"docs-generate": "npm run docs-prepare-directory && npm run docs-extract-api && npm run docs-generate-markdown",
"docs": "npm run build && npm run docs-generate",
"package-clean": "del-cli ./build/** del-cli ./temp/**",
"package-prepare": "npm run eslint && npm run prettier-check && npm run build && npm run test && npm run coverage && npm run docs-generate && npm run generate-third-party",
"package": "npm run package-clean && npm run package-prepare && npm pack"
}
}