Skip to content

Commit 9047135

Browse files
authored
Merge pull request #187 from derevnjuk/ignore_null_and_undefined
fix: prevent sending null and undefined
2 parents 2ebc31d + 2c0a392 commit 9047135

File tree

10 files changed

+673
-721
lines changed

10 files changed

+673
-721
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ build
44
*.swp
55
*.node
66
node_modules
7+
.idea

package.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"author": "Shouqun Liu <[email protected]>",
66
"contributors": [
77
"Fred Chien <[email protected]>",
8-
"Bryan Burgers <[email protected]>"
8+
"Bryan Burgers <[email protected]>",
9+
"Artem Derevnjuk <[email protected]>"
910
],
1011
"license": "MIT",
1112
"repository": {
@@ -17,8 +18,11 @@
1718
},
1819
"main": "./lib/dbus",
1920
"scripts": {
20-
"install": "node-gyp configure build",
21-
"test": "tap test/**/*.test.js"
21+
"node-gyp": "node_modules/.bin/node-gyp",
22+
"install": "npm run build:release",
23+
"test": "tap test/**/*.test.js",
24+
"build:release": "node-gyp configure build",
25+
"build:debug": "node-gyp configure build --debug"
2226
},
2327
"dependencies": {
2428
"nan": "^2.1.0"
@@ -27,6 +31,7 @@
2731
"!win32"
2832
],
2933
"devDependencies": {
34+
"node-gyp": "^3.6.2",
3035
"tap": "^10.0.2"
3136
}
3237
}

0 commit comments

Comments
 (0)