-
Notifications
You must be signed in to change notification settings - Fork 267
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 2.91 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 2.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"name": "@sparkjsdev/spark",
"version": "2.0.0",
"description": "An advanced 3D Gaussian Splatting renderer for THREE.js",
"homepage": "https://sparkjs.dev/",
"type": "module",
"main": "./dist/spark.cjs.js",
"module": "./dist/spark.module.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/spark.module.js",
"require": "./dist/spark.cjs.js"
}
},
"scripts": {
"assets:clean": "node scripts/clean-assets.js",
"assets:compress": "node scripts/compress-to-spz.js",
"assets:download": "node scripts/download-assets.js",
"build": "npm run build:production && npm run build:dev",
"build:dev": "vite build --mode dev",
"build:production": "vite build --mode production",
"build:wasm": "node rust/build_wasm.js",
"build:watch": "onchange 'src/**/*.{ts,glsl}' -- npm run build:dev",
"build-lod": "cargo run --manifest-path rust/build-lod/Cargo.toml --release --",
"clean": "rm -rf dist/ && rm -rf node_modules/ && rm -rf rust/target/ && rm -rf rust/spark-worker-rs/pkg/ && rm -rf rust/spark-rs/pkg/ && npm run assets:clean",
"dev": "npm run build:dev && (vite --host & npm run build:watch)",
"docs": "node scripts/clean-site-files.js && node scripts/copy-site-files.js && mkdocs serve",
"format": "biome format .",
"format:fix": "biome format . --fix",
"lint": "biome check .",
"lint:fix": "biome check . --fix",
"lint:summary": "biome check --reporter=summary",
"prepare": "npm run build:wasm",
"site:build:relativeurls": "npm run build && npm run site:clean && node scripts/copy-site-files.js && mkdocs build && node scripts/rename-assets-to-static.js && node scripts/replace-urls.js",
"site:build": "npm run build && npm run site:clean && node scripts/copy-site-files.js && mkdocs build && node scripts/rename-assets-to-static.js",
"site:clean": "node scripts/clean-site-files.js && node scripts/clean-site.js",
"site:deploy": "npm run site:build && node scripts/deploy-site.js",
"site:serve": "node scripts/serve-site.js site",
"start": "npm run dev",
"test": "node --no-warnings --loader ts-node/esm --test test/**/*.test.ts"
},
"repository": "sparkjs-dev/spark",
"files": ["dist"],
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "1.9.4",
"@types/three": "0.180.0",
"fflate": "^0.8.2",
"lefthook": "1.11.12",
"lil-gui": "^0.20.0",
"onchange": "7.1.0",
"stats.js": "^0.17.0",
"three": "^0.180.0",
"ts-node": "10.9.2",
"typescript": "^5.7.3",
"vite": "^6.0.11",
"vite-plugin-dts": "^4.5.4",
"vite-plugin-glsl": "^1.3.1",
"spark-worker-rs": "file:rust/spark-worker-rs/pkg",
"spark-rs": "file:rust/spark-rs/pkg"
},
"dependencies": {
"fflate": "^0.8.2"
},
"peerDependencies": {
"three": "^0.180.0"
},
"keywords": ["3d", "three.js", "gsplats", "3dgs", "gaussian", "splats"]
}