Simplify AVA use

This commit is contained in:
Jeroen Engels 2016-03-27 16:58:45 +02:00
parent 42cc61db1c
commit a29c622bc2

View file

@ -8,8 +8,8 @@
"scripts": {
"lint": "eslint cli.js \"lib/**/*.js\" && xo",
"test": "npm run lint && npm run test-unit",
"test-unit": "ava \"lib/**/*.test.js\"",
"test-unit:w": "npm run test-unit -- --watch"
"test-unit": "ava",
"test-unit:w": "ava --watch"
},
"repository": {
"type": "git",
@ -38,6 +38,9 @@
"eslint-plugin-ava": "^1.2.1",
"xo": "^0.13.0"
},
"ava": {
"files": ["lib/**/*.test.js"]
},
"xo": {
"space": 2,
"rules": {