-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
122 lines (122 loc) · 3.66 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "aws-nestjs-starter",
"version": "0.0.1",
"description": "A starter project that makes creating a deployable AWS Serverless project extremely easy",
"author": "hardyscc",
"license": "MIT",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"{src,test}/**/*.ts\"",
"start": "nest start",
"start:watch": "nest start --watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"start:online": "cross-env IS_DDB_LOCAL= nest start",
"deploy": "sls deploy --verbose",
"package": "sls package",
"lint": "eslint \"{src,test}/**/*.ts\" --max-warnings 0",
"test": "jest --verbose",
"test:watch": "jest --verbose --watch",
"test:cov": "jest --verbose --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"test:e2e": "jest --config ./test/jest-e2e.json",
"ddb:install": "sls dynamodb install",
"ddb:start": "sls dynamodb start",
"sls:offline": "cross-env NO_COLOR= sls offline",
"sls:online": "cross-env NO_COLOR= cross-env IS_DDB_LOCAL= sls offline",
"genres": "ts-node genres.ts -- \"src/**/*.schema.ts\" \"resource/dynamodb.yml\""
},
"dependencies": {
"@apollo/server": "4.7.1",
"@graphql-tools/merge": "8.4.2",
"@nestjs/apollo": "11.0.5",
"@nestjs/common": "9.4.0",
"@nestjs/config": "2.3.1",
"@nestjs/core": "9.4.0",
"@nestjs/graphql": "11.0.5",
"@nestjs/platform-express": "9.4.0",
"@vendia/serverless-express": "4.10.3",
"class-transformer": "0.5.1",
"class-validator": "0.14.0",
"dynamoose": "3.2.0",
"graphql": "16.6.0",
"husky": "8.0.3",
"nestjs-dynamoose": "0.5.4",
"reflect-metadata": "0.1.13",
"rimraf": "5.0.0",
"rxjs": "7.8.1",
"uuid": "9.0.0"
},
"devDependencies": {
"@commitlint/cli": "17.6.3",
"@commitlint/config-conventional": "17.6.3",
"@nestjs/cli": "9.4.2",
"@nestjs/schematics": "9.1.0",
"@nestjs/testing": "9.4.0",
"@shelf/jest-dynamodb": "3.4.1",
"@trivago/prettier-plugin-sort-imports": "4.1.1",
"@types/aws-lambda": "8.10.115",
"@types/express": "4.17.17",
"@types/jest": "29.5.1",
"@types/js-yaml": "4.0.5",
"@types/node": "16.18.29",
"@types/serverless": "3.12.11",
"@types/supertest": "2.0.12",
"@types/uuid": "9.0.1",
"@typescript-eslint/eslint-plugin": "5.59.5",
"@typescript-eslint/parser": "5.59.5",
"change-case": "4.1.2",
"cross-env": "7.0.3",
"eslint": "8.40.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"glob-promise": "6.0.2",
"jest": "29.5.0",
"js-yaml": "4.1.0",
"lint-staged": "13.2.2",
"prettier": "2.8.8",
"serverless": "3.30.1",
"serverless-dynamodb-local": "^1.0.2",
"serverless-offline": "12.0.4",
"serverless-plugin-typescript": "2.1.4",
"supertest": "6.3.3",
"ts-jest": "29.1.0",
"ts-loader": "9.4.2",
"ts-node": "10.9.1",
"tsconfig-paths": "4.2.0",
"typescript": "5.0.4"
},
"jest": {
"preset": "@shelf/jest-dynamodb",
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node",
"testTimeout": 45000
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
}