Move ava config to file

This commit is contained in:
Sam Carlton 2022-06-11 17:03:49 -05:00
parent 9e940d0662
commit ce710b1f55
2 changed files with 19 additions and 7 deletions

19
ava.config.js Normal file
View file

@ -0,0 +1,19 @@
export default () => {
return {
require: [
'dotenv/config',
'esm',
'tsconfig-paths/register'
],
// https://github.com/avajs/ava/blob/main/docs/recipes/watch-mode.md
ignoredByWatcher: [
'!**/*.{js,vue}',
'./build',
'./dist',
'./.output',
],
// tap: true,
// verbose: true,
color: true
}
}

View file

@ -4,13 +4,6 @@
"description": "Find out the latest app support for Apple Silicon and the Apple M2 and M1 Ultra Processors",
"author": "Sam Carlton",
"private": true,
"ava": {
"require": [
"dotenv/config",
"esm",
"tsconfig-paths/register"
]
},
"config": {
"verbiage": {
"processors": "Apple M2 and M1 Ultra",