Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Commit c0da303

Browse files
committed
Improve ava config
1 parent 491ed3b commit c0da303

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"lint": "eslint ./lib",
1212
"docs": "documentation build -f html -o docs",
1313
"deploy:docs": "buildbranch gh-pages docs",
14-
"postversion": "npm run lint && npm run build && npm publish && npm run docs && git push --all origin && git push --tags origin && npm run deploy:docs"
14+
"postversion": "npm run lint && npm test && npm run build && npm publish && npm run docs && git push --all origin && git push --tags origin && npm run deploy:docs"
1515
},
1616
"bin": {
1717
"createrest": "./bin/createrest.js",
@@ -54,6 +54,9 @@
5454
"ava": {
5555
"require": "babel-register",
5656
"concurrency": 4,
57-
"babel": "inherit"
57+
"babel": "inherit",
58+
"files": [
59+
"lib/*.test.js"
60+
]
5861
}
5962
}

0 commit comments

Comments
 (0)