-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
61 lines (61 loc) · 2.96 KB
/
Copy pathpackage.json
File metadata and controls
61 lines (61 loc) · 2.96 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "titanic",
"version": "0.3.0",
"bin": {
"titanic": "bin/titanic.js"
},
"scripts": {
"clean:js": "rm -rf */{*.js,*.d.ts}",
"clean": "rm -rf cdk.out coverage dist node_modules package-lock.json test-results",
"cdk": "npm run test && npm run deploy:cdk && npm run deploy:event && npm run deploy:logs:delayed",
"cdk:cft": "CDK_DISABLE_BOOTSTRAP_VERSION_CHECK=1 npx cdk synth --no-staging --no-version-reporting --app 'npx ts-node bin/titanic-external.ts' --output cdk.out",
"cdk:synth": "rm -rf cdk.out && npx cdk synth --app 'npx ts-node bin/titanic.ts'",
"cdk:external": "rm -rf cdk.out && npm run cdk:cft",
"lint": "eslint bin lib --ext .ts --fix",
"deploy:cdk": "npx cdk deploy --app 'npx ts-node bin/titanic.ts' --require-approval never",
"deploy:event": "./bin/send-event.sh",
"deploy:logs": "./bin/monitor-logs.sh",
"deploy:logs:delayed": "sleep 20 && npm run deploy:logs recent 1",
"deploy:outputs": "dotenv -- aws cloudformation describe-stacks --stack-name TitanicStack --query 'Stacks[0].Outputs'",
"deploy:release": "./bin/release.sh",
"deploy:tag": "git tag v$(node -p \"require('./package.json').version\") && git push origin v$(node -p \"require('./package.json').version\")",
"deploy:tag:prerelease": "git tag v$(node -p \"require('./package.json').version\")-rc.$(date +%Y%m%d.%H%M) && git push origin v$(node -p \"require('./package.json').version\")-rc.$(date +%Y%m%d.%H%M)",
"deploy:upload": "./bin/upload-assets.sh",
"deploy:verify-assets": "./bin/release.sh --verify-assets-only",
"destroy": "npm run destroy:buckets && npx cdk destroy --app 'npx ts-node bin/titanic.ts' --force",
"destroy:buckets": "./bin/cleanup-buckets.sh",
"test": "npm run lint && jest --no-coverage",
"test:coverage": "jest --coverage --verbose",
"test:fails": "jest --onlyFailures --verbose",
"test:watch": "jest --watch --verbose",
"test:debug": "jest --verbose --no-coverage --runInBand --detectOpenHandles",
"s3tables:create": "npx ts-node lib/tables/create-s3-tables.ts all",
"s3tables:namespace": "npx ts-node lib/tables/create-s3-tables.ts namespace",
"s3tables:tables": "npx ts-node lib/tables/create-s3-tables.ts tables"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.149",
"@types/jest": "^30.0.0",
"@types/node": "22.20.1",
"@typescript-eslint/eslint-plugin": "^8.36.0",
"@typescript-eslint/parser": "^8.36.0",
"aws-cdk": "2.1138.0",
"aws-sdk-client-mock": "^4.1.0",
"dotenv-cli": "^9.0.0",
"eslint": "^9.31.0",
"jest": "^30.0.0",
"jest-junit": "^16.0.0",
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"typescript": "~5.9.0"
},
"dependencies": {
"@aws-cdk/aws-lambda-event-sources": "^1.203.0",
"@aws-cdk/aws-s3tables-alpha": "^2.202.0-alpha.0",
"@aws-sdk/client-athena": "^3.787.0",
"@aws-sdk/client-glue": "^3.787.0",
"aws-cdk-lib": "2.207.0",
"constructs": "^10.0.0",
"dotenv": "^17.2.0"
}
}