@jayf0x/fluidity-js 0.2.7 → 0.2.9
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 +3187 -1741
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
- package/package.json +28 -18
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.9",
|
|
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,11 @@
|
|
|
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
|
+
"test:install": "bash scripts/test-install.sh",
|
|
26
|
+
"demo:dev": "bun run --cwd ./demo dev",
|
|
27
|
+
"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
28
|
"test": "vitest",
|
|
26
29
|
"test:run": "vitest run",
|
|
27
30
|
"test:coverage": "vitest run --coverage",
|
|
@@ -29,8 +32,8 @@
|
|
|
29
32
|
"typecheck": "bunx tsc --noEmit",
|
|
30
33
|
"format": "prettier --write .",
|
|
31
34
|
"format:check": "prettier --check .",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
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",
|
|
@@ -88,22 +91,29 @@
|
|
|
88
91
|
}
|
|
89
92
|
},
|
|
90
93
|
"devDependencies": {
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
+
"@babel/parser": "^8.0.0",
|
|
95
|
+
"@babel/traverse": "^8.0.0",
|
|
96
|
+
"@rollup/pluginutils": "^5.4.0",
|
|
97
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
98
|
+
"@testing-library/react": "^16.3.2",
|
|
99
|
+
"@testing-library/user-event": "^14.6.1",
|
|
94
100
|
"@trivago/prettier-plugin-sort-imports": "^6.0.2",
|
|
95
|
-
"@
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
101
|
+
"@types/babel__traverse": "^7.28.0",
|
|
102
|
+
"@types/node": "^26.0.0",
|
|
103
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
104
|
+
"@webgpu/types": "^0.1.70",
|
|
105
|
+
"jsdom": "^29.1.1",
|
|
106
|
+
"magic-string": "^0.30.21",
|
|
107
|
+
"prettier": "^3.8.4",
|
|
108
|
+
"react": "^19.2.7",
|
|
109
|
+
"react-dom": "^19.2.7",
|
|
110
|
+
"terser": "^5.48.0",
|
|
111
|
+
"typescript": "^6.0.3",
|
|
112
|
+
"unplugin": "^3.0.0",
|
|
113
|
+
"vite": "^8.1.0",
|
|
114
|
+
"vitest": "^4.1.9"
|
|
102
115
|
},
|
|
103
116
|
"publishConfig": {
|
|
104
117
|
"access": "public"
|
|
105
|
-
},
|
|
106
|
-
"dependencies": {
|
|
107
|
-
"@webgpu/types": "^0.1.70"
|
|
108
118
|
}
|
|
109
119
|
}
|