Skip to content

Commit b9051ad

Browse files
committed
nan wip
1 parent 43bc986 commit b9051ad

File tree

3 files changed

+155
-168
lines changed

3 files changed

+155
-168
lines changed

binding.gyp

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
'targets': [
33
{
44
'target_name': 'binding',
5-
'sources': [ 'src/binding.cc' ]
5+
'sources': [ 'src/binding.cc' ],
6+
'include_dirs': [
7+
'<!(node -e "require(\'nan\')")'
8+
],
69
}
710
]
811
}

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@
2929
"test": "mocha -gc --reporter spec"
3030
},
3131
"dependencies": {
32-
"bindings": "*",
33-
"debug": "*"
32+
"bindings": "~1.2.0",
33+
"debug": "~0.8.0",
34+
"nan": "~0.8.0"
3435
},
3536
"devDependencies": {
3637
"dox": "*",

0 commit comments

Comments
 (0)