Skip to content

Commit

Permalink
node-pre-gyp install script for canvas-prebuilt
Browse files Browse the repository at this point in the history
  • Loading branch information
chearon committed Sep 7, 2017
1 parent bc1a1f1 commit 34630b5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
language: node_js
install:
- npm install --build-from-source
node_js:
- '8'
- '6'
Expand Down
11 changes: 10 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"description": "Canvas graphics API backed by Cairo",
"version": "2.0.0-alpha.5",
"author": "TJ Holowaychuk <tj@learnboost.com>",
"main": "index.js",
"browser": "browser.js",
"contributors": [
"Nathan Rajlich <nathan@tootallnate.net>",
Expand All @@ -27,9 +28,17 @@
"pretest": "node-gyp build",
"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",
"pretest-server": "node-gyp build",
"test-server": "node test/server.js"
"test-server": "node test/server.js",
"install": "node-pre-gyp install"
},
"binary": {
"module_name": "canvas-prebuilt",
"module_path": "build/Release",
"host": "https://github.com/chearon/node-canvas-prebuilt/releases/download/",
"remote_path": "v{version}"
},
"dependencies": {
"node-pre-gyp": "^0.6.36",
"nan": "^2.4.0"
},
"devDependencies": {
Expand Down

0 comments on commit 34630b5

Please sign in to comment.