-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
106 lines (106 loc) · 4.25 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
{
"name": "rhodonite",
"version": "0.13.1",
"keywords": [
"rhodonite",
"webgl",
"webgl2",
"3d",
"web3d",
"typescript"
],
"main": "dist/cjs/index.cjs",
"types": "dist/cjs/index.d.ts",
"files": [
"dist/cjs",
"dist/esm",
"dist/esmdev",
"VERSION-FILE",
"vendor/effekseer.d.ts"
],
"repository": {
"type": "git",
"url": "git+https://github.com/actnwit/RhodoniteTS.git"
},
"author": "Yuki Shimada <[email protected]>",
"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-cjs && npm run build-umd-dev && npm run build-umd-prod",
"build-umd-dev": "npm run create-VERSION-FILE && npx webpack --config ./config/webpack/webpack.config.umd.dev.js",
"build-umd-prod": "npm run create-VERSION-FILE && npx webpack --config ./config/webpack/webpack.config.umd.prod.js",
"build-cjs": "npm run create-VERSION-FILE && npx webpack --config ./config/webpack/webpack.config.cjs.dev.js && npm run copy-defs-to-cjs",
"build-esm-dev": "npm run create-VERSION-FILE && npx webpack --config ./config/webpack/webpack.config.esm.dev.js && npm run copy-defs-to-esmdev",
"build-esm-prod": "npm run create-VERSION-FILE && npx webpack --config ./config/webpack/webpack.config.esm.prod.js",
"copy-defs-to-cjs": "cd dist/esm && rsync -arm --include=\"*/\" --include=\"*.d.ts\" --exclude=\"*\" ./ ../cjs/ && cd ../../",
"copy-defs-to-esmdev": "cd dist/esm && rsync -arm --include=\"*/\" --include=\"*.d.ts\" --exclude=\"*\" ./ ../esmdev/ && cd ../../",
"build-samples": "tsc -p ./samples/",
"watch-samples": "tsc-watch -p ./samples/ --onSuccess \"npm run start\"",
"test": "NODE_OPTIONS=--experimental-vm-modules npm run test-unit && npm run test-e2e",
"test-unit": "NODE_OPTIONS=--experimental-vm-modules npm run test-unit-part -- ./src",
"test-unit-part": "NODE_OPTIONS=--experimental-vm-modules npx jest --config ./config/test/jest.config.js",
"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 cross-env JEST_PUPPETEER_CONFIG=./config/test/jest-puppeteer.config.js npx jest --config ./config/test/jest.config.e2e.js",
"test-e2e-update": "npm run test-e2e-part -- --updateSnapshot ./samples/test_e2e",
"test-coverage": "npx jest --coverage",
"doc": "npx typedoc --exclude '**/*+(test|d).ts' --out ./docs/api/ ./src/",
"yarn-pack": "npx yarn pack -f rhodonite-tmp.tgz",
"start": "node server.js",
"create-VERSION-FILE": "npx shx touch VERSION-FILE",
"gts-lint": "gts lint ./src ./samples",
"gts-clean": "gts clean ./src ./samples",
"gts-fix": "gts fix ./src ./samples"
},
"devDependencies": {
"@swc/core": "^1.3.24",
"@types/jest": "^28.1.1",
"@types/node": "^18.11.17",
"@types/webgl-ext": "^0.0.36",
"@types/webxr": "^0.5.10",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "7.8.0",
"@webgpu/types": "^0.1.43",
"cross-env": "^7.0.3",
"eslint-config-prettier": "^8.5.0",
"express": "^4.18.1",
"gts": "^3.1.0",
"jest": "^29.7.0",
"jest-image-snapshot": "^6.4.0",
"jest-puppeteer": "^10.0.1",
"json-loader": "^0.5.7",
"prettier": "^2.8.1",
"puppeteer": "^22.8.0",
"shaderity-loader": "0.0.18",
"shx": "0.3.4",
"swc-loader": "^0.2.3",
"ts-jest": "^29.1.5",
"ts-loader": "^9.5.1",
"tsc-watch": "^6.2.0",
"typedoc": "^0.26.3",
"typescript": "^5.5.2",
"version-loader": "^0.1.0",
"webpack": "^5.73.0",
"webpack-cli": "^4.8.0",
"webpack-merge": "^5.7.3",
"webxr-input-profiles": "actnwit/webxr-input-profiles#21272c8a0a5512614e60dca5be26f7b1485ad6e7"
},
"dependencies": {
"ktx-parse": "0.2.2",
"shaderity": "^0.2.9",
"zlibjs": "^0.3.1",
"zstddec": "^0.0.2"
},
"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": ">=14.0.0"
}
}