Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 3.59 KB
/
Copy pathpackage.json
File metadata and controls
138 lines (138 loc) · 3.59 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "@jayf0x/fluidity-js",
"version": "1.2.4",
"description": "React components that add interactive fluid effects — water, ink, glass, aurora — to text and images.",
"type": "module",
"module": "./dist/index.js",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"types": "./src/index.d.ts",
"files": [
"dist",
"README.md",
"AGENTS.md",
"llms.txt",
"CONTRIBUTING.md"
],
"sideEffects": false,
"scripts": {
"build": "vite build",
"test:install": "bash scripts/test-install.sh",
"dev": "bun run --cwd ./demo dev",
"demo:build": "bun run build:nocompress && PATH=/Users/me/.nvm/versions/node/v20.19.6/bin:$PATH FLUIDITY_DIST=1 bun run --cwd ./demo build && PATH=/Users/me/.nvm/versions/node/v20.19.6/bin:$PATH bun run --cwd ./demo preview",
"test": "vitest",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage",
"test:claude": "PATH=~/.nvm/versions/node/v20.19.6/bin:$PATH npx vitest run 2>&1 | tail -8",
"typecheck": "bunx tsc --noEmit",
"docs:readme": "bun scripts/readme.ts",
"format": "prettier --write .",
"format:check": "prettier --check .",
"scan": "bash ./scripts/opengrep-scan.sh",
"npm:deploy": "bash ./scripts/npm/publish-npm.sh",
"rm:stalepr": "git branch -vv | grep '\\[gone\\]' | awk '{print $1}' | xargs git branch -D",
"size": "size-limit"
},
"keywords": [
"webgpu",
"webgl",
"webgl2",
"fluid",
"fluid-simulation",
"fluid-dynamics",
"navier-stokes",
"react",
"animation",
"canvas",
"water-effect",
"ink-effect",
"glass-effect",
"aurora-effect",
"ripple-effect",
"interactive-animation",
"canvas-animation",
"hover-effect",
"text-animation",
"image-effect",
"offscreencanvas",
"web-worker",
"typescript",
"react-component",
"vorticity",
"gpu",
"shader",
"glsl",
"wgsl",
"visual-effect",
"creative-coding"
],
"author": "https://github.com/jayf0x",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/jayf0x/fluidity.git"
},
"bugs": {
"url": "https://github.com/jayf0x/fluidity/issues"
},
"homepage": "https://jayf0x.github.io/fluidity",
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"peerDependenciesMeta": {
"react": {
"optional": false
},
"react-dom": {
"optional": false
}
},
"devDependencies": {
"@babel/parser": "^8.0.0",
"@babel/traverse": "^8.0.0",
"@rollup/pluginutils": "^5.4.0",
"@shaderfrog/glsl-parser": "0.2.4",
"@size-limit/file": "^11.0.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
"@types/babel__traverse": "^7.28.0",
"@types/node": "^26.0.0",
"@types/react": "^19.2.17",
"@vitejs/plugin-react": "^6.0.3",
"@webgpu/types": "^0.1.70",
"byte-snap": "^1.1.3",
"compress-shader-literals": "1.3.9",
"jsdom": "^29.1.1",
"prettier": "^3.8.4",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"size-limit": "^11.0.0",
"taglify": "^1.2.1",
"terser": "^5.48.0",
"type-to-table": "^1.0.1",
"typescript": "^6.0.3",
"unplugin": "^3.0.0",
"vite": "^8.1.0",
"vitest": "^4.1.9",
"wgsl_reflect": "^1.5.0"
},
"publishConfig": {
"access": "public"
},
"engines": {
"node": ">=18"
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "28 kB"
}
]
}