Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 4.33 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 4.33 KB
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
{
"name": "rhodonite",
"version": "0.19.10",
"keywords": [
"rhodonite",
"webgl",
"webgl2",
"3d",
"web3d",
"typescript"
],
"type": "module",
"main": "dist/esm/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/esm",
"dist/esmdev",
"VERSION-FILE",
"vendor/effekseer.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/actnwit/RhodoniteTS.git"
},
"author": "Yuki Shimada <emadurandal@gmail.com>",
"license": "MIT",
"scripts": {
"prepublishOnly": "npm run preoutput",
"preoutput": "npm run build && npm run build-samples && npm run test",
"build": "npm run build-esm-dev && npm run build-esm-prod && npm run build-iife-dev && npm run build-iife-prod",
"build-iife-dev": "npm run create-VERSION-FILE && node ./config/esbuild/build.mjs iife-dev && npm run rename-iife-dev",
"build-iife-prod": "npm run create-VERSION-FILE && node ./config/esbuild/build.mjs iife-prod && npm run rename-iife-prod",
"build-esm-dev": "npm run create-VERSION-FILE && node ./config/esbuild/build.mjs esm-dev",
"build-esm-prod": "npm run create-VERSION-FILE && node ./config/esbuild/build.mjs esm-prod",
"watch-esm-dev": "npm run create-VERSION-FILE && node ./config/esbuild/build.mjs esm-dev --watch",
"watch-esm-prod": "npm run create-VERSION-FILE && node ./config/esbuild/build.mjs esm-prod --watch",
"rename-iife-dev": "npx shx mv dist/iifedev/iife.global.js dist/iifedev/rhodonite.js && npx shx mv dist/iifedev/iife.d.ts dist/iifedev/rhodonite.d.ts",
"rename-iife-prod": "npx shx mv dist/iife/iife.global.js dist/iife/rhodonite.min.js && npx shx mv dist/iife/iife.d.ts dist/iife/rhodonite.min.d.ts",
"build-samples": "tsc -p ./samples/",
"watch-samples": "tsc-watch -p ./samples/ --onSuccess \"npm run start\"",
"test": "npm run test-unit && npm run test-e2e",
"test-unit": "npm run test-unit-part -- ./src",
"test-unit-part": "npx vitest run --config ./config/test/vitest.config.ts",
"test-e2e": "npm run test-e2e-part -- ./samples/test_e2e",
"test-e2e-serial": "npm run test-e2e-part -- --runInBand ./samples/test_e2e",
"test-e2e-part": "npx vitest run --config ./config/test/vitest.config.e2e.ts",
"test-e2e-update": "npm run test-e2e-part -- --update ./samples/test_e2e",
"test-coverage": "npx vitest run --coverage --config ./config/test/vitest.config.ts",
"doc": "pnpm dlx --package typedoc@0.28.20 --package typescript@6.0.3 typedoc --exclude '**/*+(test|d).ts' --out ./docs/api/ ./src/",
"pnpm-pack": "pnpm pack && ./rename_tgz.sh",
"start": "node server.js",
"create-VERSION-FILE": "npx shx touch VERSION-FILE",
"lint": "biome lint ./src ./samples",
"lint-fix": "biome lint --write ./src ./samples",
"format": "biome format ./src ./samples",
"format-fix": "biome format --write ./src ./samples",
"check": "biome check ./src ./samples",
"check-fix": "biome check --write ./src ./samples",
"check-fix-unsafe": "biome check --unsafe --write ./src ./samples"
},
"devDependencies": {
"@biomejs/biome": "^2.5.15",
"@swc/core": "^1.16.18",
"@types/node": "^26.6.5",
"@types/webgl-ext": "^0.0.37",
"@types/webxr": "^0.5.24",
"@vitest/coverage-v8": "5.0.5",
"cliui": "^9.0.1",
"cross-env": "^10.1.0",
"esbuild": "^0.28.2",
"esbuild-plugin-shaderity": "^0.0.4",
"esbuild-plugin-version": "^0.0.1",
"express": "^5.3.0",
"happy-dom": "^21.0.3",
"jest-image-snapshot": "^6.5.2",
"json-loader": "^0.5.7",
"lefthook": "^2.2.2",
"puppeteer": "^25.14.0",
"shx": "0.4.0",
"swc-loader": "^0.2.7",
"ts-loader": "^9.6.2",
"tsc-watch": "^7.2.1",
"typescript": "7.0.2",
"version-loader": "^0.1.0",
"vitest": "^5.0.5",
"vitest-environment-puppeteer": "^11.0.3",
"vitest-puppeteer": "^11.0.3",
"webxr-input-profiles": "github:actnwit/webxr-input-profiles#21272c8a0a5512614e60dca5be26f7b1485ad6e7"
},
"dependencies": {
"ktx-parse": "2.0.0",
"shaderity": "^0.2.23",
"zstddec": "^0.3.4"
},
"description": "Rhodonite is a WebGL library written in TypeScript.",
"bugs": {
"url": "https://github.com/actnwit/RhodoniteTS/issues"
},
"homepage": "https://github.com/actnwit/RhodoniteTS#readme",
"directories": {
"doc": "docs"
},
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@11.8.0"
}