Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 1.75 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 1.75 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
{
"name": "usd-viewer",
"version": "0.0.0",
"main": "./index.js",
"module": "./index.js",
"typings": "./index.d.ts",
"type": "module",
"customElements": "dist/lib/custom-elements.json",
"homepage": "https://github.com/coryrylan/usd-viewer",
"keywords": [
"web components",
"usd",
"3d model"
],
"license": "MIT",
"description": "experimental usd-viewer web component",
"scripts": {
"dev": "vite",
"build": "pnpm run build:app && pnpm run build:lib",
"build:lib": "vite build --config vite.config.lib.ts && pnpm run analyze",
"build:app": "vite build",
"analyze": "cem analyze --litelement --globs \"src/element.ts\" --outdir dist/lib",
"preview": "vite preview",
"deploy": "firebase deploy --only hosting:usd-viewer",
"clean": "git clean -dfX",
"build:wasm": "./scripts/build-wasm.sh docker",
"build:wasm:local": "./scripts/build-wasm.sh local",
"build:wasm:clean": "./scripts/build-wasm.sh clean"
},
"files": [
"*"
],
"sideEffects": [
"./include.js",
"./src/include.ts"
],
"exports": {
"./custom-elements.json": "./custom-elements.json",
".": "./index.js",
"./include/*": "./include/*",
"./*": "./*/index.js"
},
"author": {
"name": ""
},
"repository": {
"type": "git",
"url": "https://github.com/coryrylan/usd-viewer"
},
"dependencies": {
"lit": "^2.6.1",
"three": "^0.149.0"
},
"devDependencies": {
"@custom-elements-manifest/analyzer": "0.11.0",
"@nvidia-elements/core": "^2.0.0",
"@nvidia-elements/styles": "^2.0.0",
"@nvidia-elements/themes": "^2.0.0",
"@types/three": "^0.149.0",
"typescript": "^5.6.3",
"vite": "^8.0.16",
"vite-plugin-dts": "^5.0.2",
"vite-plugin-static-copy": "^4.1.1"
}
}