This repository was archived by the owner on Mar 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 2.43 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
{
"name": "threejs-viewer",
"version": "1.0.0",
"description": "Experiments with using three.js as a object viewer",
"main": "./js/index.js",
"scripts": {
"start": "run-p assemble-gltfloader1 copy-models copy-draco parcel-dev watch --silent",
"build": "run-s clean assemble-gltfloader1 copy-models copy-draco parcel-build --silent",
"assemble-gltfloader1": "echo Assembling glTF v.1 loader ... && concat -o js/GLTFLoader1/GLTFLoader1.js js/GLTFLoader1/GLTFLoader1-prepend.js node_modules/three-v86/examples/js/loaders/GLTFLoader.js js/GLTFLoader1/GLTFLoader1-append.js && echo done.",
"copy-models": "echo Copying model files from /models to /dist/models ... && copyfiles --error models/**/* dist && echo done.",
"copy-draco": "echo Copying draco files from /node_modules/three/examples/js/libs/draco to /dist/draco ... && copyfiles -f --error node_modules/three/examples/js/libs/draco/**/* dist/draco && echo done.",
"clean": "del dist --silent",
"watch": "onchange -i js/*.js -- npm run jslint",
"parcel-dev": "parcel *.html --no-cache",
"parcel-build": "parcel build *.html --public-url . --no-cache --no-source-maps",
"jslint": "standard js/*.js --verbose | snazzy || exit 0",
"jsfix": "standard js/*.js --fix --verbose | snazzy || exit 0 && echo Standard did not find any javascript issues to fix",
"publish": "gh-pages -d dist",
"togltf": "run-s gltf:*",
"gltf:fromobj": "obj2gltf -i OBJ/$FILENAME.obj -o OBJ/temp.gltf",
"gltf:compress": "gltf-pipeline -i OBJ/temp.gltf -o models/baskets/$FILENAME.gltf -d -s",
"gltf:removetemp": "del OBJ/temp.gltf",
"gltf-pipeline": "gltf-pipeline"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cdlib/threejs-viewer.git"
},
"author": "",
"bugs": {
"url": "https://github.com/cdlib/threejs-viewer/issues"
},
"homepage": "https://github.com/cdlib/threejs-viewer#readme",
"devDependencies": {
"concat": "^1.0.3",
"copyfiles": "^2.3.0",
"del-cli": "^3.0.1",
"gh-pages": "^3.1.0",
"gltf-pipeline": "^3.0.0",
"npm-run-all": "^4.1.5",
"obj2gltf": "^3.1.0",
"onchange": "^7.0.2",
"parcel-bundler": "^1.12.4",
"sass": "^1.26.9",
"snazzy": "^8.0.0",
"standard": "^14.3.4"
},
"dependencies": {
"camera-controls": "^1.22.1",
"hold-event": "0.0.1",
"three": "^0.117.1",
"three-v86": "npm:[email protected]"
},
"standard": {
"globals": [
"fetch"
]
}
}