File tree 4 files changed +6
-33
lines changed
4 files changed +6
-33
lines changed Original file line number Diff line number Diff line change 5
5
"conditions" : [
6
6
['OS=="mac"' , {
7
7
"targets" : [{
8
- "target_name" : "<(module_name) " ,
8
+ "target_name" : "fse " ,
9
9
"sources" : ["fsevents.cc" ],
10
10
"xcode_settings" : {
11
11
"OTHER_LDFLAGS" : [
15
15
"include_dirs" : [
16
16
"<!(node -e \" require('nan')\" )"
17
17
]
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
- }]
26
18
}]
27
19
}]
28
20
]
Original file line number Diff line number Diff line change 9
9
if ( process . platform !== 'darwin' )
10
10
throw new Error ( 'Module \'fsevents\' is not compatible with platform \'' + process . platform + '\'' ) ;
11
11
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" ) ;
15
13
16
14
var EventEmitter = require ( 'events' ) . EventEmitter ;
17
15
var fs = require ( 'fs' ) ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " fsevents" ,
3
- "version" : " 1.2.10 " ,
3
+ "version" : " 1.2.11 " ,
4
4
"description" : " Native Access to Mac OS-X FSEvents" ,
5
5
"main" : " fsevents.js" ,
6
6
"dependencies" : {
7
- "nan " : " ^2.12.1 " ,
8
- "node-pre-gyp " : " ^0 .12.0 "
7
+ "bindings " : " ^1.5.0 " ,
8
+ "nan " : " ^2 .12.1 "
9
9
},
10
10
"os" : [
11
11
" darwin"
14
14
"node" : " >=4.0"
15
15
},
16
16
"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"
28
18
},
29
19
"repository" : {
30
20
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments