-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
77 lines (77 loc) · 3.22 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
66
67
68
69
70
71
72
73
74
75
76
77
{
"private": true,
"name": "benevolent.games",
"version": "0.0.0-dev.3",
"description": "",
"license": "MIT",
"author": "Chase Moskal <[email protected]>",
"type": "module",
"files": [],
"scripts": {
"build": "run-s clean && run-p importmap links copy compile-typescript compile-sass && run-p compile-bundle && run-p compress-textures web && run-s test",
"clean": "rimraf x && mkdirp x",
"links": "run-s link-s link-assets link-node_modules",
"link-s": "ln -s $(realpath s) x/s",
"link-assets": "ln -s $(realpath assets) x/assets",
"link-node_modules": "ln -s $(realpath node_modules) x/node_modules",
"importmap": "importly < package-lock.json > x/importmap.json",
"copy": "cp CNAME x/ && touch x/.nojekyll",
"compress-textures": "run-s compress-textures-0 compress-textures-1",
"compress-textures-0": "jpegger --indir assets/textures --outdir x/textures/lod0 --quality 70 --size 1024",
"compress-textures-1": "jpegger --indir assets/textures --outdir x/textures/lod1 --quality 40 --size 256",
"compile-typescript": "tsc",
"compile-sass": "sass s/web/templates/:x/",
"compile-bundle": "run-s compile-bundle-rollup compile-bundle-minify",
"compile-bundle-rollup": "rollup --silent --sourcemap -p rollup-plugin-sizes -p @rollup/plugin-node-resolve -f iife -i x/humanoid.js -o x/humanoid.bundle.js",
"compile-bundle-minify": "terser x/humanoid.bundle.js -cm --source-map --comments false -o x/humanoid.bundle.min.js",
"web": "run-s web-bundle web-bundle-minify && node x/web/build.js production",
"web-debug": "node x/web/build.js debug",
"web-bundle": "rollup --silent --sourcemap -p rollup-plugin-sizes -p @rollup/plugin-node-resolve -f iife -i x/website.js -o x/website.bundle.js",
"web-bundle-minify": "terser x/website.bundle.js -cm --source-map --comments false -o x/website.bundle.min.js",
"watch-typescript": "npm run -s compile-typescript -- -w",
"watch-web": "chokidar \"x/web/**/*\" -c \"npm run web-debug -s && echo 'rebuilt web'\"",
"watch-sass": "npm run compile-sass -s -- --watch",
"watch": "run-s web-debug && run-p watch-typescript watch-sass watch-web",
"test": "cynic node --label='test suite' x/tests.test.js",
"start": "http-server x"
},
"dependencies": {
"@chasemoskal/snapstate": "^0.0.8",
"ammo.js": "github:kripken/ammo.js",
"ammojs-typed": "1.0.6",
"babylonjs": "5.0.0-alpha.65",
"babylonjs-loaders": "5.0.0-alpha.65",
"babylonjs-materials": "5.0.0-alpha.65",
"dbmage": "^0.0.0-dev.7",
"es-module-shims": "^1.4.6",
"import": "^0.0.6",
"lit": "^2.2.0",
"sparrow-rtc": "0.0.0-dev.6",
"xiome": "^0.0.30"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^13.1.3",
"chokidar-cli": "^3.0.0",
"cynic": "0.1.0-dev.16",
"http-server": "^14.1.0",
"importly": "^0.2.0",
"jpegger": "^0.1.3",
"mkdirp": "^1.0.4",
"npm-run-all": "^4.1.5",
"rimraf": "^3.0.2",
"rollup": "^2.67.3",
"rollup-plugin-sizes": "^1.0.4",
"sass": "^1.49.8",
"serve": "^13.0.2",
"terser": "^5.10.0",
"typescript": "^4.5.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/chase-moskal/benevolent.games.git"
},
"bugs": {
"url": "https://github.com/chase-moskal/benevolent.games/issues"
},
"homepage": "https://github.com/chase-moskal/benevolent.games#readme"
}