From 3ad463f1dd493aed69dc9f9d283b3f39a01360e8 Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Thu, 1 Dec 2022 13:04:28 -0500 Subject: [PATCH] package.json and vitest.config.js --- 2022/package.json | 19 +++++++++++++++++++ 2022/vitest.config.js | 9 +++++++++ 2 files changed, 28 insertions(+) create mode 100644 2022/package.json create mode 100644 2022/vitest.config.js diff --git a/2022/package.json b/2022/package.json new file mode 100644 index 0000000..c1baac4 --- /dev/null +++ b/2022/package.json @@ -0,0 +1,19 @@ +{ + "name": "2022", + "version": "1.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "Yanick Champoux (http://techblog.babyl.ca/)", + "license": "ISC", + "dependencies": { + "debug": "^4.3.4", + "fs-extra": "^11.1.0", + "prettier": "^2.8.0", + "remeda": "^1.3.0", + "vitest": "^0.25.3" + } +} diff --git a/2022/vitest.config.js b/2022/vitest.config.js new file mode 100644 index 0000000..a3351cb --- /dev/null +++ b/2022/vitest.config.js @@ -0,0 +1,9 @@ +/// +import { defineConfig } from 'vite' + +export default defineConfig({ + test: { + include: [ '**/*test.js' ], + // ... + }, +})