use vitest for tests
This commit is contained in:
@@ -1,66 +1,13 @@
|
||||
{
|
||||
"name": "reacord-integration-tests",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"lint": "eslint --ext js,ts,tsx .",
|
||||
"lint-fix": "pnpm lint -- --fix",
|
||||
"format": "prettier --write .",
|
||||
"test": "c8 ava",
|
||||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@itsmapleleaf/configs": "^1.1.0",
|
||||
"@types/node": "*",
|
||||
"dependencies": {
|
||||
"@types/react": "*",
|
||||
"@typescript-eslint/eslint-plugin": "^5.6.0",
|
||||
"@typescript-eslint/parser": "^5.6.0",
|
||||
"ava": "^4.0.0-rc.1",
|
||||
"c8": "^7.10.0",
|
||||
"@types/node": "^17.0.1",
|
||||
"discord.js": "^13.3.1",
|
||||
"dotenv": "^10.0.0",
|
||||
"esbuild": "^0.14.2",
|
||||
"esbuild-node-loader": "^0.6.3",
|
||||
"eslint": "^8.4.1",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-import-resolver-typescript": "^2.5.0",
|
||||
"eslint-plugin-import": "^2.25.3",
|
||||
"eslint-plugin-jsx-a11y": "^6.5.1",
|
||||
"eslint-plugin-react": "^7.27.1",
|
||||
"eslint-plugin-react-hooks": "^4.3.0",
|
||||
"eslint-plugin-unicorn": "^39.0.0",
|
||||
"nanoid": "^3.1.30",
|
||||
"prettier": "^2.5.1",
|
||||
"reacord": "workspace:*",
|
||||
"reacord-helpers": "workspace:*",
|
||||
"react": "^17.0.2",
|
||||
"typescript": "^4.5.4"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": [
|
||||
"./node_modules/@itsmapleleaf/configs/eslint"
|
||||
],
|
||||
"ignorePatterns": [
|
||||
"**/node_modules/**",
|
||||
"**/coverage/**",
|
||||
"**/.vscode/**"
|
||||
],
|
||||
"parserOptions": {
|
||||
"project": "./tsconfig.json"
|
||||
}
|
||||
},
|
||||
"prettier": "@itsmapleleaf/configs/prettier",
|
||||
"ava": {
|
||||
"files": [
|
||||
"**/*.test.{ts,tsx}"
|
||||
],
|
||||
"nodeArguments": [
|
||||
"--loader=esbuild-node-loader",
|
||||
"--experimental-specifier-resolution=node",
|
||||
"--no-warnings"
|
||||
],
|
||||
"extensions": {
|
||||
"ts": "module",
|
||||
"tsx": "module"
|
||||
}
|
||||
"react": "^17.0.2"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user