-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.46 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.46 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"license": "MIT",
"bin": {
"3d2png": "./3d2png.js"
},
"maintainers": [
{
"email": "contact@opendemdata.info",
"name": "Martin Over"
},
{
"email": "gilles@wikimedia.org",
"name": "Gilles Dubuc"
}
],
"name": "3d2png",
"type": "module",
"dependencies": {
"canvas": "2.11.2",
"gl": "^8.1.0",
"sharp": "^0.33.5",
"three": "^0.162.0",
"yargs": "^17.7.2"
},
"devDependencies": {
"image-ms-ssim": "latest",
"mocha": "latest",
"pngjs": "latest",
"service-runner": "latest",
"uuid": "latest"
},
"readme": "Converts STL and GLB files into PNG thumbnails",
"repository": {
"type": "git",
"url": "https://phabricator.wikimedia.org/diffusion/TDTP/3d2png.git"
},
"scripts": {
"test": "if test `uname -s` = 'Linux'; then xvfb-run -a -s '-ac -screen 0 1280x1024x24' node node_modules/mocha/bin/mocha; else node node_modules/mocha/bin/mocha; fi",
"build-deploy": "node node_modules/service-runner/service-runner build --deploy-repo --force --verbose"
},
"deploy": {
"target": "debian:bullseye",
"dependencies": {
"three": "^0.162.0",
"debian": [
"pkg-config",
"libcairo2-dev",
"libjpeg-dev",
"libxi-dev",
"libgif-dev",
"libglu1-mesa-dev",
"libglew-dev",
"libpng-dev",
"xvfb",
"xauth",
"libgl1-mesa-dri",
"libgl1-mesa-glx"
]
}
},
"version": "0.0.4"
}