test support
All checks were successful
Lint and Format Check / lint-and-format (pull_request) Successful in 11s

This commit is contained in:
Mylloon 2024-09-27 12:10:50 +02:00
parent f07d4d6756
commit 64ae6d08ad
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 3328 additions and 39 deletions

3351
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -8,7 +8,8 @@
"debug": "npx tsnd --respawn ./src/index.ts",
"lint": "npx eslint src",
"format-check": "npx prettier --check src",
"format-write": "npx prettier --write src"
"format-write": "npx prettier --write src",
"test": "npx jest"
},
"repository": {
"type": "git",
@ -31,10 +32,21 @@
"uuid": "^10.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.13",
"@typescript-eslint/eslint-plugin": "~8.6.0",
"@typescript-eslint/parser": "~8.6.0",
"dotenv": "~16.4.5",
"jest": "^29.7.0",
"prettier-eslint": "~16.3.0",
"ts-jest": "^29.2.5",
"ts-node-dev": "~2.0.0"
},
"jest": {
"transform": {
"^.+/src/utils/.+ts$": [
"ts-jest",
{}
]
}
}
}

View file

@ -28,7 +28,7 @@
/* Modules */
"module": "commonjs" /* Specify what module code is generated. */,
"rootDir": "./src" /* Specify the root folder within your source files. */,
// "rootDir": "./src" /* Specify the root folder within your source files. */,
// "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */