Skip to content

Commit 909af26

Browse files
committed
Release v1.2.11
1 parent 7074adb commit 909af26

File tree

4 files changed

+6
-33
lines changed

4 files changed

+6
-33
lines changed

binding.gyp

+1-9
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"conditions": [
66
['OS=="mac"', {
77
"targets": [{
8-
"target_name": "<(module_name)",
8+
"target_name": "fse",
99
"sources": ["fsevents.cc"],
1010
"xcode_settings": {
1111
"OTHER_LDFLAGS": [
@@ -15,14 +15,6 @@
1515
"include_dirs": [
1616
"<!(node -e \"require('nan')\")"
1717
]
18-
}, {
19-
"target_name": "action_after_build",
20-
"type": "none",
21-
"dependencies": ["<(module_name)"],
22-
"copies": [{
23-
"files": ["<(PRODUCT_DIR)/<(module_name).node"],
24-
"destination": "<(module_path)"
25-
}]
2618
}]
2719
}]
2820
]

fsevents.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
if (process.platform !== 'darwin')
1010
throw new Error('Module \'fsevents\' is not compatible with platform \'' + process.platform + '\'');
1111

12-
var path = require('path');
13-
var binary = require('node-pre-gyp');
14-
var Native = require(binary.find(path.join(__dirname, 'package.json')));
12+
var Native = require("bindings")("fse");
1513

1614
var EventEmitter = require('events').EventEmitter;
1715
var fs = require('fs');

install.js

-7
This file was deleted.

package.json

+4-14
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "fsevents",
3-
"version": "1.2.10",
3+
"version": "1.2.11",
44
"description": "Native Access to Mac OS-X FSEvents",
55
"main": "fsevents.js",
66
"dependencies": {
7-
"nan": "^2.12.1",
8-
"node-pre-gyp": "^0.12.0"
7+
"bindings": "^1.5.0",
8+
"nan": "^2.12.1"
99
},
1010
"os": [
1111
"darwin"
@@ -14,17 +14,7 @@
1414
"node": ">=4.0"
1515
},
1616
"scripts": {
17-
"install": "node install",
18-
"prepublish": "if [ $(npm -v | head -c 1) -lt 3 ]; then exit 1; fi && npm dedupe",
19-
"test": "node ./test/fsevents.js && node ./test/function.js 2> /dev/null",
20-
"node-pre-gyp": "node-pre-gyp"
21-
},
22-
"binary": {
23-
"module_name": "fse",
24-
"module_path": "./lib/binding/{configuration}/{node_abi}-{platform}-{arch}/",
25-
"remote_path": "./v{version}/",
26-
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz",
27-
"host": "https://fsevents-binaries.s3-us-west-2.amazonaws.com"
17+
"test": "node ./test/fsevents.js && node ./test/function.js 2> /dev/null"
2818
},
2919
"repository": {
3020
"type": "git",

0 commit comments

Comments
 (0)