-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (43 loc) · 1.49 KB
/
package.json
File metadata and controls
48 lines (43 loc) · 1.49 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
{
"name": "three-ts-boilerplate",
"version": "0.1.0",
"description": "Basic app template using npm, three.js, Typescript, and Browserify.",
"repository": {
"type": "git",
"url": "https://github.com/twastvedt/threejs-ts"
},
"main": "index.html",
"author": "Trygve Wastvedt <trygve.wastvedt@gmail.com>",
"license": " ",
"dependencies": {
"stats-js": "^1.0.0-alpha1",
"three": "^0.71.0",
"three-orbit-controls": "^71.0.0"
},
"devDependencies": {
"watch": "0.16.0",
"browserify": "^11.0.1",
"tsify": "^0.11.10",
"http-server": "latest",
"live-reload": "latest",
"parallelshell": "latest",
"watchify": "3.4.0",
"glslify": "2.3.1",
"glslify-import": "1.0.0"
},
"glslify": {
"transform": [ "glslify-import" ]
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "browserify -t glslify src/ts/main.ts --debug -p [ tsify --noImplicitAny ] -o dist/bundle.js",
"post-build": "copy-assets",
"copy-assets": "cp -rt dist/ src/assets && cp -rt dist/ src/html/.",
"watch": "parallelshell \"npm run watch-assets\" \"npm run watch-ts\"",
"watch-assets": "watch \"npm run copy-assets\" src/assets src/html",
"watch-ts": "watchify -t glslify src/ts/main.ts --debug -p [ tsify --noImplicitAny ] -o dist/bundle.js",
"view": "http-server ./dist -o",
"livereload": "live-reload --port 9091 dist/",
"start": "parallelshell \"npm run watch\" \"npm run livereload\" \"npm run view\""
}
}