Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
72 lines (72 loc) · 2.35 KB
/
Copy pathpackage.json
File metadata and controls
72 lines (72 loc) · 2.35 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
72
{
"name": "gltf-sample-viewer-example",
"version": "1.0.0",
"description": "The official glTF sample viewer example.",
"main": "src/main.js",
"module": "src/main.js",
"type": "module",
"engines": {
"node": "^22.13.0 || ^24.0.0 || >=26.0.0"
},
"overrides": {
"minimatch": "^11.0.1",
"cross-spawn": "^7.0.7"
},
"workspaces": [
"glTF-Sample-Renderer"
],
"scripts": {
"postinstall": "npm run build -w @khronosgroup/gltf-viewer",
"predev": "npm run build -w @khronosgroup/gltf-viewer",
"dev": "vite --host --open",
"prebuild": "npm run build -w @khronosgroup/gltf-viewer",
"build": "vite build",
"preview": "vite preview",
"test:unit": "cd ./glTF-Sample-Renderer && npm run test:unit",
"lint": "eslint --no-warn-ignored src vite.config.js glTF-Sample-Renderer/source/**/*.js",
"lint:fix": "eslint --no-warn-ignored --fix src vite.config.js glTF-Sample-Renderer/source/**/*.js",
"prettier": "npx prettier \"src/**/*.{js,jsx}\" \"glTF-Sample-Renderer/source/**/*.js\" vite.config.js eslint.config.js glTF-Sample-Renderer/rolldown.config.js glTF-Sample-Renderer/eslint.config.js --check",
"prettier:fix": "npm run prettier -- --write",
"format": "npm run prettier:fix && npm run lint:fix",
"postversion": "git push && git push --tags"
},
"repository": {
"type": "git",
"url": "git+https://github.com/KhronosGroup/glTF-Sample-Viewer.git"
},
"keywords": [
"gltf",
"webgl",
"pbr"
],
"author": "Khronos Group Inc.",
"license": "Apache-2.0",
"dependencies": {
"@khronosgroup/gltf-viewer": "*",
"draco3d": "^1.5.8",
"gltf-validator": "^2.0.0-dev.3.10",
"lucide-react": "^1.86.0",
"normalize-wheel": "^1.0.1",
"react": "^19.3.0",
"react-dom": "^19.3.0",
"simple-dropzone": "^0.8.0",
"zustand": "^5.1.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@tailwindcss/vite": "^4.3.5",
"@vitejs/plugin-react": "^6.3.1",
"eslint": "^10.16.0",
"eslint-config-prettier": "^10.1.9",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.15.0",
"prettier": "^3.10.1",
"tailwindcss": "^4.3.5",
"vite": "^8.4.1",
"vite-plugin-static-copy": "^4.1.1"
},
"bugs": {
"url": "https://github.com/KhronosGroup/glTF-Sample-Viewer/issues"
},
"homepage": "https://github.com/KhronosGroup/glTF-Sample-Viewer/#readme"
}