Skip to content

Commit 12d59a8

Browse files
tweaked test scripts
1 parent 02c5e54 commit 12d59a8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@
55
"main": "src/cli-columns.js",
66
"scripts": {
77
"coveralls": "nyc report -r text-lcov | coveralls",
8-
"pretest": "xo src/*.js test/*.js",
9-
"test": "nyc ava -v test/*.js",
10-
"watch": "watch 'npm test' src test -du"
8+
"test": "xo && nyc ava -v",
9+
"watch": "chokidar '{src,test}/*.js' -c 'npm test'"
1110
},
1211
"repository": {
1312
"type": "git",
@@ -42,10 +41,10 @@
4241
"devDependencies": {
4342
"ava": "^0.11.0",
4443
"chalk": "^1.1.1",
44+
"chokidar-cli": "^1.2.0",
4545
"coveralls": "^2.11.6",
4646
"nyc": "^5.6.0",
4747
"strip-ansi": "^3.0.0",
48-
"watch": "^0.17.1",
4948
"xo": "^0.12.1"
5049
}
5150
}

0 commit comments

Comments
 (0)