mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-09 13:36:29 +00:00
Simplify AVA use
This commit is contained in:
parent
42cc61db1c
commit
a29c622bc2
1 changed files with 5 additions and 2 deletions
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue