-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.76 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 1.76 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
{
"name": "grain-gradient",
"version": "2.0.0",
"description": "Lightweight WebGL shader utilities for mesh and grain gradients.",
"keywords": [
"background",
"gradient",
"grain",
"react",
"shader",
"webgl"
],
"homepage": "https://github.com/aomona/grain-gradient#readme",
"bugs": {
"url": "https://github.com/aomona/grain-gradient/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/aomona/grain-gradient.git"
},
"files": [
"dist"
],
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./react": {
"types": "./dist/react.d.ts",
"import": "./dist/react.js"
},
"./webgl": {
"types": "./dist/webgl.d.ts",
"import": "./dist/webgl.js"
},
"./webgl/react": {
"types": "./dist/webgl-react.d.ts",
"import": "./dist/webgl-react.js"
}
},
"scripts": {
"build": "tsc -p tsconfig.json",
"dev": "vite",
"build:playground": "vite build",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
"format": "oxfmt --write .",
"format:check": "oxfmt --check .",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p playground/tsconfig.json",
"pretest": "npm run build",
"test": "node --test tests/*.test.mjs",
"playground": "vite --open"
},
"devDependencies": {
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.3",
"oxfmt": "^0.51.0",
"oxlint": "^1.66.0",
"react-dom": "^19.2.7",
"typescript": "^5.5.4",
"vite": "^8.0.14"
},
"peerDependencies": {
"react": ">=18"
}
}