-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.14 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.14 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
{
"name": "@feng3d/webgpu",
"version": "0.1.0",
"description": "webgpu渲染库",
"homepage": "https://feng3d.com/webgpu/",
"author": "feng",
"type": "module",
"main": "./src/index.ts",
"types": "./src/index.ts",
"module": "./src/index.ts",
"exports": {
".": {
"types": "./src/index.ts",
"import": "./src/index.ts",
"require": "./src/index.ts"
}
},
"scripts": {
"examples:dev": "cd examples && npm run dev",
"test_web": "cd test_web && npm run dev",
"postdocs": "node scripts/postdocs.js && cd exa mples && vite build --outDir ../public",
"clean": "rimraf lib dist public",
"build": "vite build && tsc",
"watch": "concurrently \"vite build --watch\" \"tsc -w\" \"vitest\"",
"test": "vitest run",
"lint": "eslint . --ext .js,.ts --max-warnings 0",
"lintfix": "npm run lint -- --fix",
"docs": "typedoc",
"prepublishOnly": "node scripts/prepublish.js",
"release": "npm run clean && npm run lint && npm test && npm run build && npm run docs && npm publish",
"postpublish": "node scripts/postpublish.js",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "https://github.com/feng3d-labs/webgpu.git"
},
"publishConfig": {
"access": "public"
},
"files": [
"src",
"dist",
"lib"
],
"devDependencies": {
"@eslint/js": "9.0.0",
"@typescript-eslint/eslint-plugin": "8.32.1",
"@typescript-eslint/parser": "8.32.1",
"cross-env": "7.0.3",
"eslint": "9.26.0",
"fast-glob": "^3.3.3",
"globals": "14.0.0",
"rimraf": "6.0.1",
"tslib": "2.8.1",
"typedoc": "0.28.4",
"typescript": "5.8.3",
"typescript-eslint": "8.32.1",
"vite": "6.3.5",
"vitest": "3.1.3",
"concurrently": "9.1.2",
"husky": "9.1.7",
"lint-staged": "15.2.10"
},
"dependencies": {
"@feng3d/reactivity": "1.0.12",
"@feng3d/watcher": "^0.8.14",
"@webgpu/types": "0.1.60",
"wgsl_reflect": "^1.2.1"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix --max-warnings 0"
]
},
"workspaces": [
".",
"./examples",
"./test_web",
"packages/*",
"packages/*/examples"
]
}