Skip to content

Commit 6ee7458

Browse files
committed
node-pre-gyp install script for canvas-prebuilt
1 parent bc1a1f1 commit 6ee7458

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

package.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"description": "Canvas graphics API backed by Cairo",
44
"version": "2.0.0-alpha.5",
55
"author": "TJ Holowaychuk <[email protected]>",
6+
"main": "index.js",
67
"browser": "browser.js",
78
"contributors": [
89
"Nathan Rajlich <[email protected]>",
@@ -27,9 +28,17 @@
2728
"pretest": "node-gyp build",
2829
"test": "standard examples/*.js test/server.js test/public/*.js benchmark/run.js util/has_lib.js browser.js index.js && mocha test/*.test.js",
2930
"pretest-server": "node-gyp build",
30-
"test-server": "node test/server.js"
31+
"test-server": "node test/server.js",
32+
"install": "node-pre-gyp install"
33+
},
34+
"binary": {
35+
"module_name": "canvas-prebuilt",
36+
"module_path": "build/Release",
37+
"host": "https://github.com/chearon/node-canvas-prebuilt/releases/download/",
38+
"remote_path": "v{version}"
3139
},
3240
"dependencies": {
41+
"node-pre-gyp": "^0.6.36",
3342
"nan": "^2.4.0"
3443
},
3544
"devDependencies": {

0 commit comments

Comments
 (0)