Skip to content

Commit

Permalink
Release v1.2.11
Browse files Browse the repository at this point in the history
  • Loading branch information
pipobscure committed Dec 13, 2019
1 parent 7074adb commit 909af26
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 33 deletions.
10 changes: 1 addition & 9 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"conditions": [
['OS=="mac"', {
"targets": [{
"target_name": "<(module_name)",
"target_name": "fse",
"sources": ["fsevents.cc"],
"xcode_settings": {
"OTHER_LDFLAGS": [
Expand All @@ -15,14 +15,6 @@
"include_dirs": [
"<!(node -e \"require('nan')\")"
]
}, {
"target_name": "action_after_build",
"type": "none",
"dependencies": ["<(module_name)"],
"copies": [{
"files": ["<(PRODUCT_DIR)/<(module_name).node"],
"destination": "<(module_path)"
}]
}]
}]
]
Expand Down
4 changes: 1 addition & 3 deletions fsevents.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
if (process.platform !== 'darwin')
throw new Error('Module \'fsevents\' is not compatible with platform \'' + process.platform + '\'');

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

var EventEmitter = require('events').EventEmitter;
var fs = require('fs');
Expand Down
7 changes: 0 additions & 7 deletions install.js

This file was deleted.

18 changes: 4 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "fsevents",
"version": "1.2.10",
"version": "1.2.11",
"description": "Native Access to Mac OS-X FSEvents",
"main": "fsevents.js",
"dependencies": {
"nan": "^2.12.1",
"node-pre-gyp": "^0.12.0"
"bindings": "^1.5.0",
"nan": "^2.12.1"
},
"os": [
"darwin"
Expand All @@ -14,17 +14,7 @@
"node": ">=4.0"
},
"scripts": {
"install": "node install",
"prepublish": "if [ $(npm -v | head -c 1) -lt 3 ]; then exit 1; fi && npm dedupe",
"test": "node ./test/fsevents.js && node ./test/function.js 2> /dev/null",
"node-pre-gyp": "node-pre-gyp"
},
"binary": {
"module_name": "fse",
"module_path": "./lib/binding/{configuration}/{node_abi}-{platform}-{arch}/",
"remote_path": "./v{version}/",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}.tar.gz",
"host": "https://fsevents-binaries.s3-us-west-2.amazonaws.com"
"test": "node ./test/fsevents.js && node ./test/function.js 2> /dev/null"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 909af26

Please sign in to comment.