-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
93 lines (93 loc) · 3.77 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "serverless-boilerplate",
"version": "1.0.1",
"description": "Serverless boilerplate",
"homepage": "https://tsh.io",
"author": "TSH",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/TheSoftwareHouse/serverless-boilerplate.git"
},
"bugs": {
"url": "https://github.com/TheSoftwareHouse/serverless-boilerplate/issues"
},
"engine": {
"node": ">=20.0.0"
},
"scripts": {
"dev": "serverless offline start -s dev --httpPort 1337 --lambdaPort 4000 --reloadHandler",
"dev-with-debug": "serverless offline start -s dev --httpPort 1337 --lambdaPort 4000 --reloadHandler --useInProcess",
"test": "mocha -r ts-node/register ./shared/**/*.spec.ts ./functions/**/*.spec.ts --exit",
"test-coverage": "./node_modules/.bin/nyc --reporter=lcov node ./node_modules/.bin/mocha -r ts-node/register ./shared/**/*.spec.ts ./functions/**/*.spec.ts --exit",
"format": "prettier --write .",
"lint": "eslint --ext .ts functions/ --ext .ts workflows/ --ext .ts shared/",
"lint-fix": "eslint --ext .ts --fix functions/ --ext .ts --fix workflows/ --ext .ts --fix shared/",
"generate-migration": "docker-compose up -d && ts-node ./node_modules/typeorm/cli.js migration:generate ./migrations/migration -d ./shared/config/db",
"run-migrations": "docker-compose up -d && serverless invoke local --function migrations",
"revert-migration": "docker-compose up -d && ts-node ./node_modules/typeorm/cli.js migration:revert -d ./shared/config/db",
"create-migration": "docker-compose up -d && ts-node ./node_modules/typeorm/cli.js migration:create ./migrations/migration",
"start-workflow": "aws stepfunctions --endpoint-url http://127.0.0.1:8083 start-execution --state-machine-arn arn:aws:states:us-east-1:101010101010:stateMachine:$npm_config_workflow",
"get-sf-logs": "docker-compose logs --follow sfLocal",
"plop": "plop",
"prepare": "husky install"
},
"dependencies": {
"@middy/core": "^4.6.5",
"@middy/http-cors": "^4.6.5",
"@middy/http-error-handler": "^4.6.5",
"@middy/http-event-normalizer": "^4.6.5",
"@middy/http-header-normalizer": "^4.6.5",
"@middy/http-json-body-parser": "^4.6.5",
"@middy/input-output-logger": "^4.6.5",
"@middy/util": "^4.6.5",
"dotenv": "^16.3.1",
"http-status-codes": "^2.3.0",
"pg": "^8.11.3",
"sinon": "^17.0.1",
"ts-pipe-compose": "^0.2.1",
"typeorm": "^0.3.17",
"winston": "^3.11.0",
"zod": "^3.22.4"
},
"devDependencies": {
"@babel/core": "^7.23.0",
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@serverless/typescript": "^3.38.0",
"@types/aws-lambda": "^8.10.124",
"@types/mocha": "^10.0.2",
"@types/node": "^20.11.17",
"@types/sinon": "^17.0.3",
"@types/supertest": "^2.0.14",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"aws-lambda": "^1.0.7",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^11.0.0",
"eslint": "^8.51.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-unicorn": "^48.0.1",
"husky": "^8.0.3",
"inquirer-directory": "^2.2.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"plop": "^4.0.0",
"prettier": "^3.0.3",
"serverless": "^3.38.0",
"serverless-offline": "^13.3.3",
"serverless-plugin-typescript": "^2.1.5",
"serverless-step-functions": "^3.16.0",
"serverless-step-functions-local": "^0.5.0",
"serverless-webpack": "^5.13.0",
"supertest": "^6.3.3",
"ts-loader": "^9.5.0",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",
"webpack": "^5.88.2"
}
}