-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 1.97 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 1.97 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"name": "code-challenge-4",
"version": "1.0.0",
"private": "true",
"description": "Serverless Guru - Code Challenge 4",
"scripts": {
"lint": "eslint src --ext ts,js --no-ignore --fix",
"types": "tsc",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"pre-deploy": "chmod +x ./scripts/pre-deploy.sh && ./scripts/pre-deploy.sh",
"deploy:dev": "yarn run pre-deploy && sls deploy --stage dev",
"deploy:prod": "yarn run pre-deploy && sls deploy --stage prod",
"prepare": "husky install"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@serverless/typescript": "^2.33.0",
"@types/aws-lambda": "^8.10.73",
"@types/aws-sdk": "^2.7.0",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.37",
"@types/uuid": "^8.3.0",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
"eslint": "^7.23.0",
"eslint-config-prettier": "^8.1.0",
"husky": "^6.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"serverless": "^2.35.0",
"serverless-prune-plugin": "^1.5.0",
"serverless-stack-output": "^0.2.3",
"serverless-webpack": "^5.4.0",
"ts-jest": "^26.5.4",
"ts-loader": "^8.1.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.3",
"webpack": "^5.30.0",
"webpack-node-externals": "^2.5.2"
},
"dependencies": {
"aws-lambda": "1.0.6",
"aws-sdk": "^2.880.0",
"serverless-appsync-plugin": "^1.9.0",
"uuid": "^8.3.2"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.test\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"src/**/*.{js,ts}": [
"yarn lint",
"prettier --write",
"git add"
]
}
}