@jayf0x/fluidity-js 0.3.0 → 0.3.2
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/package.json +18 -7
- package/dist/index.js.br +0 -0
- package/dist/index.js.gz +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jayf0x/fluidity-js",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
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,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"sideEffects": false,
|
|
22
22
|
"scripts": {
|
|
23
|
-
"build": "vite build
|
|
24
|
-
"build:nocompress": "vite build",
|
|
23
|
+
"build": "vite build",
|
|
25
24
|
"test:install": "bash scripts/test-install.sh",
|
|
26
25
|
"demo:dev": "bun run --cwd ./demo dev",
|
|
27
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",
|
|
@@ -33,7 +32,8 @@
|
|
|
33
32
|
"format": "prettier --write .",
|
|
34
33
|
"format:check": "prettier --check .",
|
|
35
34
|
"npm:deploy": "bash ./scripts/publish-npm.sh",
|
|
36
|
-
"rm:stalepr": "git branch -vv | grep '\\[gone\\]' | awk '{print $1}' | xargs git branch -D"
|
|
35
|
+
"rm:stalepr": "git branch -vv | grep '\\[gone\\]' | awk '{print $1}' | xargs git branch -D",
|
|
36
|
+
"size": "size-limit"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"webgpu",
|
|
@@ -111,10 +111,21 @@
|
|
|
111
111
|
"unplugin": "^3.0.0",
|
|
112
112
|
"vite": "^8.1.0",
|
|
113
113
|
"vitest": "^4.1.9",
|
|
114
|
-
"byte-snap": "^1.0.
|
|
115
|
-
"compress-shader-literals": "^0.0.7"
|
|
114
|
+
"byte-snap": "^1.0.5",
|
|
115
|
+
"compress-shader-literals": "^0.0.7",
|
|
116
|
+
"size-limit": "^11.0.0",
|
|
117
|
+
"@size-limit/file": "^11.0.0"
|
|
116
118
|
},
|
|
117
119
|
"publishConfig": {
|
|
118
120
|
"access": "public"
|
|
119
|
-
}
|
|
121
|
+
},
|
|
122
|
+
"engines": {
|
|
123
|
+
"node": ">=18"
|
|
124
|
+
},
|
|
125
|
+
"size-limit": [
|
|
126
|
+
{
|
|
127
|
+
"path": "dist/index.js",
|
|
128
|
+
"limit": "28 kB"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
120
131
|
}
|
package/dist/index.js.br
DELETED
|
Binary file
|
package/dist/index.js.gz
DELETED
|
Binary file
|