set up Jest configuration file

This commit is contained in:
2024-12-30 14:47:53 -08:00
parent e3746a942b
commit 12ac84feae
4 changed files with 2551 additions and 1 deletions

View File

@@ -8,13 +8,17 @@
"build": "npm install --include=dev && npm run generate && tsc && npm prune --omit=dev",
"start:dev": "npm run build:dev && node ./dist/index.js",
"start": "npm run build && node ./dist/index.js",
"generate": "graphql-codegen --config codegen.ts"
"generate": "graphql-codegen --config codegen.ts",
"test": "jest"
},
"devDependencies": {
"@graphql-codegen/cli": "5.0.3",
"@graphql-codegen/typescript": "4.1.2",
"@graphql-codegen/typescript-resolvers": "4.4.1",
"@jest/globals": "^29.7.0",
"@types/node": "^22.10.2",
"jest": "^29.7.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
},
"private": true,