File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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" : [
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 ]
Original file line number Diff line number Diff line change 99if ( 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
1614var EventEmitter = require ( 'events' ) . EventEmitter ;
1715var fs = require ( 'fs' ) ;
Load diff This file was deleted.
Original file line number Diff line number Diff line change 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"
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" ,
You can’t perform that action at this time.
0 commit comments