From ce710b1f5538ca47ce191afcb1c2c3bffa565346 Mon Sep 17 00:00:00 2001 From: Sam Carlton Date: Sat, 11 Jun 2022 17:03:49 -0500 Subject: [PATCH] Move ava config to file --- ava.config.js | 19 +++++++++++++++++++ package.json | 7 ------- 2 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 ava.config.js diff --git a/ava.config.js b/ava.config.js new file mode 100644 index 0000000..92150f0 --- /dev/null +++ b/ava.config.js @@ -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 + } +} diff --git a/package.json b/package.json index 735f5a5..fa227ec 100644 --- a/package.json +++ b/package.json @@ -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",