package.json and vitest.config.js

This commit is contained in:
Yanick Champoux 2022-12-01 13:04:28 -05:00
parent 20f4d0a6db
commit 3ad463f1dd
2 changed files with 28 additions and 0 deletions

19
2022/package.json Normal file
View File

@ -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 <yanick@babyl.ca> (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"
}
}

9
2022/vitest.config.js Normal file
View File

@ -0,0 +1,9 @@
/// <reference types="vitest" />
import { defineConfig } from 'vite'
export default defineConfig({
test: {
include: [ '**/*test.js' ],
// ...
},
})