file-share/package.json
Adam Moussa b92624994e
fix(ci): enable Jest CDK stack tests
Wire run-tests into CI and add assertions for SG, IAM, instance, DLM, and the imported volume attachment. Use @swc/jest because ts-jest cannot consume TypeScript 7's compiler API.
2026-08-07 12:19:12 -04:00

57 lines
1.1 KiB
JSON

{
"name": "file-share",
"version": "1.0.0",
"bin": {
"app": "bin/app.js"
},
"scripts": {
"build": "tsc",
"test": "jest",
"cdk": "cdk",
"synth": "cdk synth",
"deploy": "cdk deploy",
"diff": "cdk diff"
},
"devDependencies": {
"@swc/core": "1.13.5",
"@swc/jest": "0.2.39",
"@types/jest": "29.5.14",
"@types/node": "^24.13.3",
"aws-cdk": "^2.1133.0",
"jest": "29.7.0",
"source-map-support": "^0.5.21",
"tsx": "4.23.1",
"typescript": "~7.0.2"
},
"dependencies": {
"aws-cdk-lib": "2.262.1",
"constructs": "^10.7.1"
},
"jest": {
"testEnvironment": "node",
"roots": [
"<rootDir>/test"
],
"testMatch": [
"**/test/**/*.test.ts"
],
"transform": {
"^.+\\.tsx?$": [
"@swc/jest",
{
"jsc": {
"parser": {
"syntax": "typescript",
"tsx": false
},
"target": "es2022"
},
"module": {
"type": "commonjs"
}
}
]
},
"clearMocks": true
}
}