-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
61 lines (61 loc) · 2.84 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
{
"name": "voxel-dockerclient",
"version": "0.4.2",
"description": "An experimental minecraft-like docker client, built using voxel.js.",
"main": "",
"config": {
"registry_user": "rajchaudhuri"
},
"scripts": {
"check-env": "node -e 'console.log(process.env)'",
"test": "standard client/** public/js/**",
"build-public": "copyfiles --up 1 public/css/* public/fonts/* public/js/* public/textures/* public/*.html out && copyfiles -f node_modules/@xterm/xterm/lib/xterm.js out/js && copyfiles -f node_modules/@xterm/addon-fit/lib/addon-fit.js out/js && copyfiles -f node_modules/@xterm/xterm/css/xterm.css out/css",
"clean-public": "rimraf out/css out/fonts out/js/*dialog.js out/js/xterm.js out/js/addon-fit.js out/textures out/*.html",
"build-client-debug": "browserify --debug client/main.js -o out/js/client.js",
"build-client-release": "browserify client/main.js -o out/js/client.js",
"clean-client": "rimraf out/js/client.js",
"build-server": "CGO_ENABLED='0' go build -o out/voxel-dockerserver -ldflags \"-X 'main.version=${npm_package_version}'\" server/*.go",
"clean-server": "rimraf out/server",
"build-debug": "npm run build-public && npm run build-client-debug && npm run build-server",
"build": "npm run build-public && npm run build-client-release && npm run build-server",
"build-image": "docker image build -t ${npm_package_config_registry_user}/voxel-dockerclient:${npm_package_version} -f Dockerfile --build-arg VERSION_STRING=${npm_package_version} .",
"run-image": "npm run build-image && docker container run --rm --mount type=bind,source=/var/run/docker.sock,target=/var/run/docker.sock --publish 8080:8080 ${npm_package_config_registry_user}/voxel-dockerclient:${npm_package_version}",
"clean-image": "docker image rm ${npm_package_config_registry_user}/voxel-dockerclient:${npm_package_version}",
"clean": "rimraf out/*",
"standard": "standard client/** public/js/**"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rajch/voxel-dockerclient.git"
},
"keywords": [
"voxel",
"docker",
"voxel.js"
],
"author": "Raj Chaudhuri",
"license": "MIT",
"bugs": {
"url": "https://github.com/rajch/voxel-dockerclient/issues"
},
"homepage": "https://github.com/rajch/voxel-dockerclient#readme",
"dependencies": {
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"shellwords": "^0.1.0",
"voxel-console": "^1.0.1",
"voxel-engine": "git+https://github.com/rajch/voxel-engine.git",
"voxel-fly": "^0.1.2",
"voxel-keys": "git+https://github.com/rajch/voxel-keys.git",
"voxel-modal-dialog": "^1.0.1",
"voxel-player": "^0.1.0",
"voxel-plugins": "^0.5.0",
"voxel-walk": "0.0.5"
},
"devDependencies": {
"browserify": "^13.3.0",
"copyfiles": "^1.0.0",
"rimraf": "^4.0.0",
"standard": "^17.1.0"
}
}