forked from donmccurdy/glTF-Transform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
67 lines (67 loc) · 2.46 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
{
"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",
"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}/test/**/*.test.ts",
"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 && lerna run dist && yarn run docs:cli && git add -u packages/docs",
"postpublish": "git push && git push --tags && yarn run docs:deploy:prod",
"docs:cli": "export 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": "if [[ $(git describe --tags --abbrev=0) =~ ^v[0-9]+.[0-9]+.[0-9]+$ ]]; then yarn docs:deploy --prod; else echo '⚠️ Not a stable release, skipping website deployment.'; fi",
"docs:deploy": "yarn dist && vercel"
},
"dependencies": {},
"devDependencies": {
"@types/command-exists": "1.2.3",
"@types/draco3dgltf": "1.4.3",
"@types/ndarray": "1.0.14",
"@types/node": "20.11.17",
"@types/node-gzip": "1.1.3",
"@typescript-eslint/eslint-plugin": "6.21.0",
"@typescript-eslint/parser": "6.21.0",
"ava": "^6.0.0",
"c8": "^9.0.0",
"draco3dgltf": "1.5.7",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-svelte": "^2.34.1",
"gl-matrix": "^3.4.3",
"gltf-validator": "2.0.0-dev.3.9",
"keyframe-resample": "^0.0.16",
"lerna": "8.1.2",
"meshoptimizer": "0.20.0",
"microbundle": "0.15.1",
"mikktspace": "1.1.1",
"prettier": "3.2.5",
"prettier-plugin-svelte": "^3.0.0",
"rimraf": "^5.0.5",
"tinybench": "^2.5.1",
"tsx": "^4.7.0",
"typescript": "5.3.3"
},
"ava": {
"extensions": {
"ts": "module"
},
"nodeArguments": [
"--import=tsx"
]
}
}