-
Notifications
You must be signed in to change notification settings - Fork 67
/
package.json
80 lines (80 loc) · 1.96 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
78
79
80
{
"name": "skia-canvas",
"version": "2.0.0-rc2",
"description": "A GPU-accelerated Canvas Graphics API for Node",
"author": "Christian Swinehart <[email protected]>",
"license": "MIT",
"homepage": "https://skia-canvas.org",
"repository": {
"type": "git",
"url": "git+https://github.com/samizdatco/skia-canvas.git"
},
"bugs": {
"url": "https://github.com/samizdatco/skia-canvas/issues"
},
"main": "./lib/index.js",
"exports": {
"node": {
"import": "./lib/index.mjs",
"require": "./lib/index.js"
},
"browser": "./lib/browser.js",
"types": "./lib/index.d.ts"
},
"browser": {
"path": "path-browserify"
},
"scripts": {
"build": "cargo-cp-artifact -nc lib/v8/index.node -- cargo build --message-format=json-render-diagnostics",
"install": "node-pre-gyp install || npm run build -- --release",
"package": "node-pre-gyp package",
"upload": "gh release upload v$npm_package_version build/stage/v$npm_package_version/*",
"test": "jest"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11",
"cargo-cp-artifact": "^0.1",
"fast-glob": "^3.3.2",
"path-browserify": "^1.0.1",
"simple-get": "^4.0.1",
"string-split-by": "^1.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/lodash": "^4.17.13",
"@types/node": "^22.9.0",
"express": "^4.21.1",
"jest": "^29.7.0",
"lodash": "^4.17.21",
"nodemon": "^3.1.7",
"tmp": "^0.2.3"
},
"files": [
"lib"
],
"binary": {
"module_name": "index",
"module_path": "./lib/v8",
"remote_path": "./v{version}",
"package_name": "{platform}-{arch}-{libc}.tar.gz",
"host": "https://github.com/samizdatco/skia-canvas/releases/download"
},
"keywords": [
"canvas",
"gpu",
"skia",
"offscreen",
"headless",
"graphic",
"graphics",
"image",
"images",
"compositing",
"render",
"vulkan",
"metal",
"pdf",
"svg",
"rust"
]
}