-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
52 lines (52 loc) · 1.47 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
{
"name": "blog-server",
"version": "1.0.0",
"repository": "github:vivmaha/blog-server",
"license": "MIT",
"scripts": {
"lint-ci": "eslint --max-warnings 0 --ext .ts,.js src && prettier --check \"**/*.{json,md,yml,ts,js}\"",
"lint": "eslint --max-warnings 0 --fix --ext .ts,.js src && prettier --write \"**/*.{json,md,yml,ts,js}\"",
"sls": "serverless"
},
"devDependencies": {
"@aws-sdk/types": "^3.6.1",
"@types/aws-lambda": "^8.10.63",
"@types/http-errors": "^1.8.0",
"@types/node": "^14.14.31",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"husky": "^4.3.0",
"lint-staged": "^10.4.0",
"prettier": "^2.2.1",
"serverless": "^2.25.2",
"serverless-plugin-typescript": "^1.1.9",
"typescript": "^4.1.3"
},
"dependencies": {
"@aws-sdk/client-dynamodb": "^3.6.1",
"@aws-sdk/client-lambda": "^3.6.1",
"@aws-sdk/client-s3": "^3.7.0",
"@aws-sdk/util-dynamodb": "^3.6.1",
"@middy/core": "^1.5.2",
"@middy/http-cors": "^1.5.2",
"@middy/http-error-handler": "^1.5.2",
"aws-lambda": "^1.0.6",
"http-errors": "^1.8.0"
},
"lint-staged": {
"**/*.{ts,js}": [
"eslint --max-warnings 0 --fix"
],
"**/*.{json,md,yml,ts,js}": [
"prettier --write"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}