Use vitest by default

This commit is contained in:
garronej 2023-05-21 13:57:34 +02:00
parent c87d40ce2d
commit 9ef5a235d2
5 changed files with 560 additions and 8 deletions

View file

@ -7,8 +7,8 @@
"url": "git://github.com/#{USER_OR_ORG}#/#{REPO_NAME}#.git"
},
"scripts": {
"test": "echo DODO",
"build": "tsc",
"test": "vitest",
"lint:check": "eslint . --ext .ts,.tsx",
"lint": "npm run lint:check -- --fix",
"_format": "prettier '**/*.{ts,tsx,json,md}'",
@ -40,9 +40,7 @@
"license": "MIT",
"files": [
"src/",
"!src/test/",
"dist/",
"!dist/test/",
"!dist/tsconfig.tsbuildinfo"
],
"keywords": [],
@ -57,6 +55,7 @@
"husky": "^4.3.8",
"lint-staged": "^11.1.1",
"prettier": "^2.8.8",
"vitest": "^0.31.1",
"ts-node": "^10.9.1",
"react": "^18.2.0",
"@types/react": "^18.2.6"