forked from donmccurdy/three-gltf-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 2.35 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
{
"name": "three-gltf-viewer",
"productName": "glTF Viewer",
"version": "1.5.1",
"description": "Preview glTF models using three.js and a drag-and-drop interface.",
"main": "electron/main.js",
"browser": "src/app.js",
"scripts": {
"start": "electron .",
"build": "parcel build index.html",
"build:registry": "curl https://rawgit.com/KhronosGroup/glTF-Generator-Registry/master/registry.json -o lib/gltf-generator-registry.json",
"package": "npm run package:windows && npm run package:mac && npm run package:linux",
"package:windows": "electron-packager . gltf-viewer --overwrite --asar --platform=win32 --arch=ia32 --icon=assets/icons/glTF-Viewer.ico --out=package --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"glTF Viewer\"",
"package:mac": "electron-packager . --overwrite --platform=darwin --arch=x64 --icon=assets/icons/glTF-Viewer.icns --out=package",
"package:linux": "electron-packager . gltf-viewer --overwrite --asar --platform=linux --arch=x64 --icon=assets/icons/glTF-Viewer.png --out=package",
"dev": "parcel index.html --port 3000",
"dev:electron": "concurrently \"parcel watch index.html\" \"npm start\"",
"test": "node scripts/gen_test.js",
"deploy": "npm run build && now dist --local-config now.json --prod",
"postversion": "git push && git push --tags"
},
"keywords": [
"gltf",
"three.js",
"three",
"3d",
"model",
"modeling",
"webgl"
],
"author": "Don McCurdy <[email protected]> (https://www.donmccurdy.com)",
"license": "MIT",
"dependencies": {
"dat.gui": "^0.7.7",
"electron-serve": "^0.4.1",
"glob-to-regexp": "^0.4.1",
"glsl-blend-soft-light": "^1.0.5",
"glsl-film-grain": "^1.0.4",
"gltf-validator": "^2.0.0-dev.3.2",
"handlebars": "^4.7.6",
"open": "6.0.0",
"query-string": "^4.3.4",
"simple-dropzone": "^0.7.1",
"three": "^0.116.1"
},
"devDependencies": {
"chalk": "^2.4.2",
"concurrently": "^3.6.1",
"electron": "^7.3.2",
"electron-packager": "^14.2.1",
"glslify-bundle": "^5.1.1",
"glslify-deps": "^1.3.1",
"node-fetch": "^1.7.3",
"parcel-bundler": "^1.12.4",
"parcel-plugin-static-files-copy": "^2.5.0"
},
"staticFiles": {
"staticPath": [
{
"staticPath": "assets",
"staticOutDir": "assets"
}
]
}
}