-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
37 lines (37 loc) · 1.44 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
{
"name": "deepkit-aws",
"version": "1.0.0",
"main": "dist/index.js",
"author": "Vinícius Lourenço",
"license": "MIT",
"description": "Example project for deepkit and AWS",
"config": {
"aws_profile": "aws_liga",
"aws_region": "us-east-1",
"aws_lambda_name": "aws_liga_test_lambda"
},
"scripts": {
"prebuild": "rimraf dist",
"build": "tsc -p tsconfig.json",
"start": "ts-node src/app.ts server:start",
"zip": "npx @h4ad/node-modules-packer ./ --include dist --peer --ignore-node-path faker typescript @deepkit/framework-debug-gui @deepkit/orm-browser-gui @deepkit/api-console-gui",
"update-function-code": "aws --profile $npm_package_config_aws_profile --region $npm_package_config_aws_region lambda update-function-code --function-name $npm_package_config_aws_lambda_name --zip-file fileb://deploy.zip --publish --cli-connect-timeout 6000",
"deploy": "npm run build && npm run zip && npm run update-function-code"
},
"dependencies": {
"@deepkit/app": "^1.0.1-alpha.75",
"@deepkit/core": "^1.0.1-alpha.75",
"@deepkit/event": "^1.0.1-alpha.75",
"@deepkit/framework": "^1.0.1-alpha.75",
"@deepkit/http": "^1.0.1-alpha.75",
"@deepkit/type": "^1.0.1-alpha.75",
"@h4ad/serverless-adapter": "^2"
},
"devDependencies": {
"@types/aws-lambda": "^8.10.101",
"@deepkit/type-compiler": "^1.0.1-alpha.75",
"rimraf": "^3.0.2",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
}
}