mirror of
https://github.com/storytold/spark.git
synced 2026-10-17 00:12:59 +00:00
Rename npm run to-spz to npm run assets:compress for consistency
This commit is contained in:
@@ -194,3 +194,9 @@ npm run site:serve
|
|||||||
## Deploy Forge website
|
## Deploy Forge website
|
||||||
|
|
||||||
TO-DO
|
TO-DO
|
||||||
|
|
||||||
|
## Compress splats
|
||||||
|
|
||||||
|
To compress a splat to [spz](https://scaniverse.com/spz) run
|
||||||
|
|
||||||
|
`npm run assets:compress <file or URL to ply>`
|
||||||
|
|||||||
+1
-1
@@ -6,12 +6,12 @@
|
|||||||
"description": "An advanced 3D Gaussian Splatting renderer for THREE.js",
|
"description": "An advanced 3D Gaussian Splatting renderer for THREE.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"assets:clean": "node scripts/clean-assets.js",
|
"assets:clean": "node scripts/clean-assets.js",
|
||||||
|
"assets:compress": "node scripts/compress-to-spz.js",
|
||||||
"assets:download": "node scripts/download-assets.js",
|
"assets:download": "node scripts/download-assets.js",
|
||||||
"build": "vite build --mode production && vite build --mode dev && tsc --emitDeclarationOnly --outFile dist/forge.d.ts",
|
"build": "vite build --mode production && vite build --mode dev && tsc --emitDeclarationOnly --outFile dist/forge.d.ts",
|
||||||
"build:wasm": "node rust/build_wasm.js",
|
"build:wasm": "node rust/build_wasm.js",
|
||||||
"build:watch": "onchange 'src/**/*.{ts,glsl}' -- npm run build",
|
"build:watch": "onchange 'src/**/*.{ts,glsl}' -- npm run build",
|
||||||
"clean": "rm -rf dist/ && rm -rf node_modules/ && rm -rf rust/target/ && rm -rf rust/forge-internal-rs/pkg/ && npm run assets:clean",
|
"clean": "rm -rf dist/ && rm -rf node_modules/ && rm -rf rust/target/ && rm -rf rust/forge-internal-rs/pkg/ && npm run assets:clean",
|
||||||
"to-spz": "node scripts/to-spz.js",
|
|
||||||
"dev": "npm run build && (vite --host & npm run build:watch)",
|
"dev": "npm run build && (vite --host & npm run build:watch)",
|
||||||
"deploy": "node scripts/deploy.js",
|
"deploy": "node scripts/deploy.js",
|
||||||
"docs": "mkdocs serve",
|
"docs": "mkdocs serve",
|
||||||
|
|||||||
Reference in New Issue
Block a user