forked from mkkellogg/GaussianSplats3D
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.8 KB
/
package.json
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
72
73
74
75
76
77
78
{
"name": "@mkkellogg/gaussian-splats-3d",
"repository": {
"type": "git",
"url": "https://github.com/mkkellogg/GaussianSplats3D"
},
"version": "0.4.5",
"description": "Three.js-based 3D Gaussian splat viewer",
"module": "build/gaussian-splats-3d.module.js",
"main": "build/gaussian-splats-3d.umd.cjs",
"author": "Mark Kellogg",
"license": "MIT",
"type": "module",
"scripts": {
"build-demo": "mkdir -p ./build/demo && cp -r ./demo ./build/ && cp ./node_modules/three/build/three.module.js ./build/demo/lib/three.module.js",
"build-library": "npx rollup -c && mkdir -p ./build/demo/lib && cp ./build/gaussian-splats-3d.module.* ./build/demo/lib/",
"build": "npm run build-library && npm run build-demo",
"build-demo-windows": "(if not exist \".\\build\\demo\" mkdir .\\build\\demo) && xcopy /E .\\demo .\\build\\demo && xcopy .\\node_modules\\three\\build\\three.module.js .\\build\\demo\\lib\\",
"build-library-windows": "npx rollup -c && (if not exist \".\\build\\demo\\lib\" mkdir .\\build\\demo\\lib) && copy .\\build\\gaussian-splats-3d* .\\build\\demo\\lib\\",
"build-windows": "npm run build-library-windows && npm run build-demo-windows",
"watch": "npx npm-watch ",
"demo": "node util/server.js -d ./build/demo",
"fix-styling": "npx stylelint **/*.scss --fix",
"fix-js": "npx eslint src --fix",
"lint": "npx eslint 'src/**/*.js' || true",
"prettify": "npx prettier --write 'src/**/*.js'"
},
"watch": {
"build-library": {
"patterns": [
"src/**/*.js"
]
},
"build-demo": {
"patterns": [
"demo/**/*.*"
]
}
},
"babel": {},
"keywords": [
"three",
"threejs",
"three.js",
"splatting",
"3D",
"gaussian",
"webgl",
"javascript"
],
"devDependencies": {
"@babel/core": "7.22.0",
"@babel/eslint-parser": "7.22.11",
"@babel/plugin-proposal-class-properties": "7.18.6",
"@babel/preset-env": "7.22.10",
"babel-loader": "9.1.3",
"@rollup/plugin-terser": "0.4.4",
"@rollup/pluginutils": "5.0.5",
"eslint": "8.47.0",
"eslint-config-google": "0.14.0",
"file-loader": "6.2.0",
"http-server": "14.1.1",
"npm-watch": "0.11.0",
"prettier": "3.0.2",
"prettier-eslint": "15.0.1",
"rollup": "3.28.1",
"url-loader": "4.1.1"
},
"peerDependencies": {
"three": ">=0.160.0"
},
"files": [
"build/gaussian-splats-3d.umd.cjs",
"build/gaussian-splats-3d.umd.cjs.map",
"build/gaussian-splats-3d.module.js",
"build/gaussian-splats-3d.module.js.map"
]
}