add jsStandard

This commit is contained in:
Sai1919
2016-11-08 18:15:51 +05:30
parent ba6fc42f61
commit 9e366aa489
2 changed files with 4 additions and 2 deletions

View File

@@ -27,12 +27,13 @@
},
"devDependencies": {
"mocha": "3.1.2",
"should": "11.1.1"
"should": "11.1.1",
"standard": "8.5.0"
},
"optionalDependencies": {},
"main": "./parser",
"scripts": {
"test": "mocha"
"test": "mocha && standard"
},
"maintainers": [
{

View File

@@ -25,6 +25,7 @@ describe('Tests', function () {
})
parser.on('error', function (err) {
should(err).not.be.ok()
done(err)
})