Skip to content

Commit f02a3bf

Browse files
author
Daniel Kesler
committed
Adds electron prebuild
1 parent 33c2dfb commit f02a3bf

File tree

4 files changed

+1654
-21
lines changed

4 files changed

+1654
-21
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ binding.node
33
build
44
node_modules
55
opened_fixtures
6+
prebuilds/

package-lock.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ronomon/opened",
3-
"version": "1.5.1",
3+
"version": "1.5.2",
44
"description": "Check if a file is open in another application on Windows, macOS and Linux.",
55
"main": "index.js",
66
"files": [
@@ -11,7 +11,7 @@
1111
],
1212
"repository": {
1313
"type": "git",
14-
"url": "git+https://github.com/ronomon/opened.git"
14+
"url": "git+https://github.com/dckesler/opened.git"
1515
},
1616
"keywords": [
1717
"exclusive",
@@ -29,11 +29,16 @@
2929
},
3030
"homepage": "https://github.com/ronomon/opened#readme",
3131
"scripts": {
32-
"postinstall": "node-gyp clean",
32+
"install": "prebuild-install || node-gyp rebuild",
33+
"prebuild-electron": "prebuild -t 7.0.0 -t 8.0.0 -t 9.0.0 -r electron",
3334
"test": "node test.js"
3435
},
3536
"dependencies": {
3637
"@ronomon/queue": "^3.0.0",
3738
"nan": "^2.11.0"
39+
},
40+
"devDependencies": {
41+
"prebuild": "^10.0.0",
42+
"prebuild-install": "^5.3.4"
3843
}
3944
}

0 commit comments

Comments
 (0)