-
-
Notifications
You must be signed in to change notification settings - Fork 149
/
package.json
83 lines (83 loc) · 2.88 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
{
"private": true,
"name": "gltf-transform",
"author": "Don McCurdy <[email protected]>",
"repository": "github:donmccurdy/glTF-Transform",
"license": "MIT",
"workspaces": [
"packages/*"
],
"type": "module",
"scripts": {
"dist": "lerna run dist",
"watch": "lerna run watch --parallel --stream",
"lerna": "lerna",
"tsx": "tsx",
"clean:dist": "rimraf packages/*/dist/**",
"clean:deps": "rimraf packages/*/node_modules/**",
"clean:test": "rimraf packages/*/test/out/**",
"test": "ava --no-worker-threads 'packages/{core,extensions,functions,cli,view}/test/**/*.test.ts'",
"test:filter": "ava --no-worker-threads",
"test:debug": "ava debug --no-worker-threads",
"coverage": "c8 --config .github/.c8rc --reporter=lcov --reporter=text yarn test --tap",
"coverage:report": "c8 report --config .github/.c8rc --reporter=text-lcov > coverage/coverage.lcov",
"lint": "eslint \"packages/*/{src,test}/**/*.ts\"",
"validate": "scripts/validate.js",
"bench": "tsx benchmarks/benchmark.ts",
"preversion": "yarn test",
"version": "yarn clean:dist && yarn dist && yarn bench --report-version --print && yarn run docs:cli && git add -u benchmarks/results packages/docs",
"postpublish": "git push && git push --tags && yarn run docs:deploy:prod",
"docs:cli": "CLI_HELP=\"$(gltf-transform -h --no-editorial)\" && perl -i -0pe 's/\\Q<!-- begin:cli_help -->\\E.*\\Q<!-- end:cli_help -->\\E/<!-- begin:cli_help -->\n\\`\\`\\`plaintext$ENV{'CLI_HELP'}\\n\\`\\`\\`\n<!-- end:cli_help -->/gmsi' packages/docs/src/lib/pages/cli.md",
"docs:deploy:prod": "tsx scripts/check-release.ts && yarn docs:deploy --prod || echo \"⚠️ Skipping website deployment.\"",
"docs:deploy": "yarn dist && vercel"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
"@tweakpane/core": "^2.0.4",
"@types/command-exists": "1.2.3",
"@types/d3-dsv": "^3.0.7",
"@types/draco3dgltf": "1.4.3",
"@types/jsdom": "^21.1.7",
"@types/ndarray": "1.0.14",
"@types/node": "22.8.7",
"@types/node-gzip": "1.1.3",
"@types/three": "^0.169.0",
"@types/wrap-ansi": "^8.1.0",
"ava": "^6.1.3",
"c8": "^10.1.2",
"d3-dsv": "^3.0.1",
"draco3dgltf": "1.5.7",
"eslint": "9.7.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-svelte": "^2.43.0",
"gl-matrix": "^3.4.3",
"gltf-validator": "2.0.0-dev.3.10",
"jsdom": "^25.0.0",
"keyframe-resample": "^0.1.0",
"lerna": "8.1.9",
"meshoptimizer": "0.22.0",
"microbundle": "0.15.1",
"mikktspace": "1.1.1",
"prettier": "3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"rimraf": "^6.0.1",
"simple-dropzone": "^0.8.3",
"three": "^0.170.0",
"tinybench": "^2.8.0",
"tsx": "^4.16.2",
"tweakpane": "^4.0.4",
"tweakpane-plugin-thumbnail-list": "^0.3.0",
"typescript": "5.6.3",
"typescript-eslint": "^7.17.0",
"vite": "^5.3.4"
},
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--import=tsx"
]
},
"packageManager": "[email protected]"
}