Skip to content

Commit 8aabc0a

Browse files
authored
Add prebuildify (#38)
1 parent 1af2683 commit 8aabc0a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"scripts": {
88
"build": "tsc",
99
"watch": "tsc --watch",
10-
"install": "npm run rebuild",
10+
"prebuild": "prebuildify --napi",
11+
"install": "node-gyp-build",
1112
"rebuild": "node-gyp rebuild",
1213
"rebuild-dev": "npm run rebuild -- --debug",
1314
"prepublishOnly": "npm run build && npm run rebuild"
@@ -31,12 +32,14 @@
3132
"homepage": "https://github.com/sentialx/node-window-manager#readme",
3233
"devDependencies": {
3334
"@types/node": "12.12.17",
35+
"node-gyp": "^6.1.0",
36+
"prebuildify": "^3.0.4",
3437
"tslint": "5.20.1",
3538
"typescript": "3.7.3"
3639
},
3740
"dependencies": {
3841
"extract-file-icon": "^0.3.2",
3942
"node-addon-api": "2.0.0",
40-
"node-gyp": "6.0.1"
43+
"node-gyp-build": "^4.2.0"
4144
}
42-
}
45+
}

0 commit comments

Comments
 (0)