-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
79 lines (79 loc) · 2.34 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
{
"name": "serverless-graphql-mongodb-lambda",
"version": "1.0.0",
"description": "Serverless webpack example using Typescript",
"main": "handler.js",
"repository": {
"type": "git",
"url": ""
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": false
}
],
"@semantic-release/changelog",
"@semantic-release/git"
]
},
"scripts": {
"start": "sls offline start",
"debug": "node --inspect --debug-port=9229 node_modules/serverless/bin/serverless offline start",
"test": "echo \"Error: no test specified\" && exit 1",
"commit": "npx git-cz",
"release": "npx semantic-release",
"commitizen": "exec < /dev/tty && git cz",
"lint": "standard",
"lint:fix": "standard --fix",
"deploy": "yarn deploy:dev",
"deploy:dev": "sls deploy --stage dev --region eu-central-1",
"deploy:live": "sls deploy --stage live --region us-east-1",
"remove:dev": "sls remove --stage dev --region eu-central-1",
"remove:live": "sls remove --stage live --region us-east-1"
},
"husky": {
"hooks": {
"pre-commit": "yarn lint:fix",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"dependencies": {
"apollo-server-cache-redis": "^1.2.3",
"apollo-server-lambda": "^2.21.0",
"apollo-server-plugin-response-cache": "^0.6.0",
"axios": "^0.21.2",
"graphql": "^15.5.0",
"graphql-import": "^0.7.1",
"mongoose": "^5.13.15"
},
"devDependencies": {
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/npm": "^7.0.10",
"@semantic-release/release-notes-generator": "^9.0.1",
"@types/aws-lambda": "^8.10.72",
"@types/node": "^14.14.31",
"aws-sdk": "^2.848.0",
"cz-conventional-changelog": "^3.3.0",
"husky": "^5.0.9",
"semantic-release": "^19.0.3",
"serverless": "^2.72.3",
"serverless-offline": "^9.3.0",
"serverless-plugin-warmup": "^5.2.0"
},
"author": "Khaled Osman",
"license": "MIT"
}