-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 2.78 KB
/
package.json
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
62
63
64
65
66
67
68
69
70
{
"name": "starport",
"description": "Launch Pad Backend",
"version": "0.1.0",
"bin": {
"app": "bin/app.js"
},
"engines": {
"node": ">=18.0.0"
},
"scripts": {
"clean": "rm -rf dist",
"build": " sh ./scripts/build",
"test:api": " sh ./scripts/serve",
"watch": "tsc -w",
"cdk:synth": "cdk synth",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "prettier --write \"**/*.{js,ts,json}\"",
"format": "npm run lint:fix && prettier --write \"**/*.{js,ts,json}\"",
"test": "jest",
"test:watch": "jest --watch",
"test:src": "jest --verbose ./src",
"start:local:api": "sam local start-api -t ./cdk.out/hub-wiki-stack.template.json --port 3003 ",
"invoke:lambda": "sam local invoke -t ./cdk.out/$npm_config_stack.template.json -e $npm_config_event ${npm_config_warm-containers=LAZY}",
"start:local:lambdas": "sam local start-lambda -t ./cdk.out/$npm_config_stack.template.json ${npm_config_port:3000} ${npm_config_warm-containers=LAZY}",
"db:up": "esbuild resources/database/setup.ts --entry-names=[dir]/[name]/index --bundle --platform=node --target=node16.14 --outdir=./dist/migrations && node ./dist/migrations/setup/index.js",
"db:reset": "esbuild resources/database/setup.ts --entry-names=[dir]/[name]/index --bundle --platform=node --target=node16.14 --outdir=./dist/migrations && node ./dist/migrations/setup/index.js --withreset"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.363.0",
"@planetscale/database": "^1.11.0",
"aws-cdk-lib": "^2.70.0",
"bcryptjs": "^2.4.3",
"chalk": "^5.2.0",
"constructs": "^10.0.0",
"dotenv": "^16.0.3",
"jwt-decode": "^3.1.2",
"kysely": "^0.26.3",
"kysely-planetscale": "^1.4.0",
"kysely-postgres-js": "^2.0.0",
"mysql2": "^3.6.3",
"pg": "^8.11.5",
"undici": "^5.28.3",
"uuid": "^9.0.1"
},
"devDependencies": {
"@babel/core": "^7.22.5",
"@babel/preset-env": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@types/aws-lambda": "^8.10.115",
"@types/aws-sdk": "^2.7.0",
"@types/jest": "^29.5.2",
"@types/node": "^18.14.6",
"@types/pg": "^8.11.5",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"aws-cdk": "2.70.0",
"babel-jest": "^29.5.0",
"esbuild": "^0.17.19",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.5.0",
"prettier": "^2.8.8",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"typescript": "~4.9.5"
}
}