@sparkjsdev/spark 0.1.1 → 0.1.3
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 +3 -3
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|

|
|
4
4
|

|
|
5
|
-
|
|
5
|
+
|
|
6
6
|
<h3 align="center">An advanced 3D Gaussian Splatting renderer for THREE.js</h3>
|
|
7
7
|
<div align="center">
|
|
8
8
|
|
|
@@ -53,7 +53,7 @@ Copy the following code into an `index.html` file.
|
|
|
53
53
|
{
|
|
54
54
|
"imports": {
|
|
55
55
|
"three": "https://cdnjs.cloudflare.com/ajax/libs/three.js/0.174.0/three.module.js",
|
|
56
|
-
"@sparkjsdev/spark": "https://sparkjs.dev/releases/spark/0.
|
|
56
|
+
"@sparkjsdev/spark": "https://sparkjs.dev/releases/spark/0.1.3/spark.module.js"
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
</script>
|
|
@@ -199,7 +199,7 @@ npm run site:serve
|
|
|
199
199
|
|
|
200
200
|
### Deploy Spark website
|
|
201
201
|
|
|
202
|
-
The following command will generate a static site from the `docs` directory and push it to the [repo](https://github.com/sparkjsdev/
|
|
202
|
+
The following command will generate a static site from the `docs` directory and push it to the [repo](https://github.com/sparkjsdev/sparkjsdev.github.io) that hosts the site via `gh-pages`
|
|
203
203
|
|
|
204
204
|
```
|
|
205
205
|
npm run site:deploy
|
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sparkjsdev/spark",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "An advanced 3D Gaussian Splatting renderer for THREE.js",
|
|
5
5
|
"homepage": "https://sparkjs.dev/",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/spark.cjs.js",
|
|
8
8
|
"module": "./dist/spark.module.js",
|
|
9
|
+
"types": "./dist/types/index.d.ts",
|
|
9
10
|
"exports": {
|
|
10
11
|
".": {
|
|
11
12
|
"types": "./dist/types/index.d.ts",
|
|
@@ -31,8 +32,8 @@
|
|
|
31
32
|
"lint:fix": "biome check . --fix",
|
|
32
33
|
"lint:summary": "biome check --reporter=summary",
|
|
33
34
|
"prepare": "npm run build:wasm && lefthook install",
|
|
34
|
-
"site:build": "npm run build && npm run site:clean &&
|
|
35
|
-
"site:clean": "node scripts/clean-site.js",
|
|
35
|
+
"site:build": "npm run build && npm run site:clean && node scripts/copy-site-files.js && mkdocs build",
|
|
36
|
+
"site:clean": "node scripts/clean-site-files.js && node scripts/clean-site.js",
|
|
36
37
|
"site:deploy": "node scripts/deploy-site.js",
|
|
37
38
|
"site:serve": "node scripts/serve-site.js site",
|
|
38
39
|
"start": "npm run dev",
|
|
@@ -53,11 +54,11 @@
|
|
|
53
54
|
"typescript": "^5.7.3",
|
|
54
55
|
"vite": "^6.0.11",
|
|
55
56
|
"vite-plugin-dts": "^4.5.4",
|
|
56
|
-
"vite-plugin-glsl": "^1.3.1"
|
|
57
|
+
"vite-plugin-glsl": "^1.3.1",
|
|
58
|
+
"spark-internal-rs": "file:rust/spark-internal-rs/pkg"
|
|
57
59
|
},
|
|
58
60
|
"dependencies": {
|
|
59
|
-
"fflate": "^0.8.2"
|
|
60
|
-
"spark-internal-rs": "file:rust/spark-internal-rs/pkg"
|
|
61
|
+
"fflate": "^0.8.2"
|
|
61
62
|
},
|
|
62
63
|
"keywords": ["3d", "three.js", "gsplats", "3dgs", "gaussian", "splats"]
|
|
63
64
|
}
|