mirror of
https://github.com/IT4Change/IT4C.dev.git
synced 2026-03-01 12:44:23 +00:00
* configure eslint to use eslint-config-it4c * update node version (note: this requires an update on the hosting alpine) * use node 24.13.0 * another transitive package * update eslint-config-it4c * fix lint * fix config * fix packages * update eslint-config-it4c package * another package update * update package * update package * lint fixes * use prettier config from eslint-config-it4c * package update * package update * update package * reduce config * fix lint * remove node_modules from ignore as it is the default for eslint9 * update package * fix lint
61 lines
1.4 KiB
JSON
61 lines
1.4 KiB
JSON
{
|
|
"name": "it4c.dev-backend",
|
|
"version": "1.0.0",
|
|
"description": "IT4C.dev backend",
|
|
"license": "Apache-2.0",
|
|
"author": "Ulf Gebhardt",
|
|
"type": "commonjs",
|
|
"main": "index.js",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/IT4Change/IT4C.dev.git"
|
|
},
|
|
"scripts": {
|
|
"start": "node ./build/src/index.js",
|
|
"build": "tsc",
|
|
"dev": "tsx watch ./src/index.ts",
|
|
"test:unit": "jest",
|
|
"test:lint:eslint": "eslint --max-warnings 0 .",
|
|
"update": "npx npm-check-updates"
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^9.39.2",
|
|
"eslint-config-it4c": "^0.7.2",
|
|
"jest": "^30.2.0",
|
|
"ts-jest": "^29.4.6",
|
|
"tsx": "^4.21.0",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@fastify/type-provider-typebox": "^5.2.0",
|
|
"@types/jest": "^30.0.0",
|
|
"@types/nodemailer": "^7.0.9",
|
|
"fastify": "^5.7.2",
|
|
"nodemailer": "^7.0.13",
|
|
"ts-dotenv": "^0.9.1"
|
|
},
|
|
"jest": {
|
|
"preset": "ts-jest",
|
|
"testEnvironment": "node",
|
|
"setupFiles": [
|
|
"./jest/setup.loadEnv.ts"
|
|
],
|
|
"collectCoverage": true,
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"statements": 100
|
|
}
|
|
},
|
|
"modulePathIgnorePatterns": [
|
|
"<rootDir>/build/"
|
|
]
|
|
},
|
|
"imports": {
|
|
"#src/*": "./src/*",
|
|
"#root/*": "./*"
|
|
}
|
|
}
|