Skip to content

Commit fb8c7a6

Browse files
committed
Update prepublish
1 parent 9162ef1 commit fb8c7a6

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
"devDependencies": {
3535
"aws-sdk": "^2.1.8",
3636
"mocha": "^2.1.0",
37-
"chai": "^1.10.0"
37+
"chai": "^1.10.0",
38+
"rimraf": "^2.4.4"
3839
},
3940
"scripts": {
4041
"preinstall": "node -e 'process.exit(0)'",

tools/prepublish.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
if (process.env.CI) process.exit(0);
22

3+
var rimraf = require('rimraf');
34
var extend = require('util')._extend;
45
var gyp = require('node-pre-gyp');
56

7+
rimraf.sync('./build');
8+
69
var versions = ['0.10.0', '0.12.0', '4.0.0', '5.0.0'];
710
var matrix = {
811
x64: ['win32', 'linux', 'darwin'],

0 commit comments

Comments
 (0)