@jayf0x/fluidity-js 0.2.7 → 0.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -48
- package/dist/index.js +1140 -1261
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/package.json +9 -7
package/dist/index.js.br
ADDED
|
Binary file
|
package/dist/index.js.gz
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jayf0x/fluidity-js",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "WebGPU-first real-time Navier-Stokes fluid simulation for React — interactive water, ink, glass, aurora, and ripple effects on text and images. Falls back to WebGL2/WebGL1. Runs in a Web Worker.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -20,8 +20,10 @@
|
|
|
20
20
|
],
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"scripts": {
|
|
23
|
-
"build": "vite build",
|
|
24
|
-
"
|
|
23
|
+
"build": "vite build && node scripts/compress-dist.js",
|
|
24
|
+
"build:nocompress": "vite build",
|
|
25
|
+
"demo:dev": "bun run --cwd ./demo dev",
|
|
26
|
+
"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",
|
|
25
27
|
"test": "vitest",
|
|
26
28
|
"test:run": "vitest run",
|
|
27
29
|
"test:coverage": "vitest run --coverage",
|
|
@@ -30,7 +32,8 @@
|
|
|
30
32
|
"format": "prettier --write .",
|
|
31
33
|
"format:check": "prettier --check .",
|
|
32
34
|
"deploy:demo": "bash scripts/deploy-demo.sh",
|
|
33
|
-
"publish:npm": "bash ./scripts/publish-npm.sh"
|
|
35
|
+
"publish:npm": "bash ./scripts/publish-npm.sh",
|
|
36
|
+
"rm:stalepr": "git branch -vv | grep '\\[gone\\]' | awk '{print $1}' | xargs git branch -D"
|
|
34
37
|
},
|
|
35
38
|
"keywords": [
|
|
36
39
|
"webgpu",
|
|
@@ -93,17 +96,16 @@
|
|
|
93
96
|
"@testing-library/user-event": "^14.5.0",
|
|
94
97
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
95
98
|
"@vitejs/plugin-react": "^4.2.0",
|
|
99
|
+
"@webgpu/types": "^0.1.70",
|
|
96
100
|
"jsdom": "^23.2.0",
|
|
97
101
|
"prettier": "^3.8.2",
|
|
98
102
|
"react": "^18.2.0",
|
|
99
103
|
"react-dom": "^18.2.0",
|
|
104
|
+
"terser": "^5.48.0",
|
|
100
105
|
"vite": "^4.5.0",
|
|
101
106
|
"vitest": "^0.34.0"
|
|
102
107
|
},
|
|
103
108
|
"publishConfig": {
|
|
104
109
|
"access": "public"
|
|
105
|
-
},
|
|
106
|
-
"dependencies": {
|
|
107
|
-
"@webgpu/types": "^0.1.70"
|
|
108
110
|
}
|
|
109
111
|
}
|