Skip to content

Commit 9d51841

Browse files
author
noel
committed
Added tests and coverage scripts
1 parent d9186a5 commit 9d51841

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "promise-crawler",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Promise support for node-crawler (Web Crawler/Spider for NodeJS + server-side jQuery)",
55
"main": "index.js",
66
"scripts": {
7-
"test": "echo \"Error: no test specified\" && exit 1"
7+
"test": "node_modules/mocha/bin/mocha",
8+
"coverage": "./node_modules/nyc/bin/nyc.js npm test && ./node_modules/nyc/bin/nyc.js report --reporter=text-lcov | coveralls"
89
},
910
"repository": {
1011
"type": "git",
@@ -35,4 +36,4 @@
3536
"mocha-lcov-reporter": "^1.3.0",
3637
"nyc": "^12.0.2"
3738
}
38-
}
39+
}

0 commit comments

Comments
 (0)