-
Notifications
You must be signed in to change notification settings - Fork 156
/
package.json
94 lines (94 loc) · 4.36 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
{
"name": "3d-tiles-validator",
"version": "0.5.0",
"license": "Apache-2.0",
"description": "Tools for validating 3D Tiles tilesets.",
"keywords": [
"3D Tiles"
],
"homepage": "https://github.com/CesiumGS/3d-tiles-validator/",
"repository": {
"type": "git",
"url": "https://github.com/CesiumGS/3d-tiles-validator.git"
},
"bugs": {
"url": "https://github.com/CesiumGS/3d-tiles-validator/issues"
},
"engines": {
"node": ">=14.0.0"
},
"main": "./build/index.js",
"types": "./build/index.d.ts",
"bin": {
"3d-tiles-validator": "./build/main"
},
"dependencies": {
"@gltf-transform/core": "^3.2.1",
"@gltf-transform/extensions": "^3.2.1",
"@gltf-transform/functions": "^3.2.1",
"3d-tiles-tools": "0.4.2",
"cesium": "^1.97.0",
"gltf-validator": "^2.0.0-dev.3.9",
"minimatch": "^5.1.0",
"node-stream-zip": "^1.10.1",
"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",
"@types/minimatch": "^5.1.2",
"@typescript-eslint/eslint-plugin": "^5.38.0",
"@typescript-eslint/parser": "^5.38.0",
"copyfiles": "^2.4.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",
"eslint-plugin-tsdoc": "^0.2.17",
"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 validator, 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: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-copy": "echo 'Copy the entry point for the application from the bin to the build directory'",
"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": "npx tsc",
"test": "ts-node node_modules/jasmine/bin/jasmine --config=specs/jasmine.json",
"coverage": "nyc 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/**",
"package-prepare": "npm run eslint && npm run prettier-check && npm run build && npm run test && npm run docs-generate && npm run generate-third-party",
"package-copy": "npx copyfiles --flat bin/main build",
"package": "npm run package-clean && npm run package-prepare && npm run package-copy && npm pack"
}
}