-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathpackage.json
122 lines (122 loc) · 3.68 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=false 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= cross-env IS_DDB_LOCAL=true sls offline",
"sls:online": "cross-env NO_COLOR= sls offline",
"genres": "ts-node genres.ts -- \"src/**/*.schema.ts\" \"resource/dynamodb.yml\""
},
"dependencies": {
"@apollo/server": "4.11.3",
"@graphql-tools/merge": "9.0.17",
"@nestjs/apollo": "12.2.2",
"@nestjs/common": "10.4.15",
"@nestjs/config": "3.3.0",
"@nestjs/core": "10.4.15",
"@nestjs/graphql": "12.2.2",
"@nestjs/platform-express": "10.4.15",
"@vendia/serverless-express": "4.12.6",
"class-transformer": "0.5.1",
"class-validator": "0.14.1",
"dynamoose": "4.0.3",
"graphql": "16.10.0",
"husky": "9.1.7",
"nestjs-dynamoose": "0.5.8",
"reflect-metadata": "0.2.2",
"rimraf": "5.0.10",
"rxjs": "7.8.1",
"uuid": "9.0.1"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-conventional": "19.6.0",
"@nestjs/cli": "10.4.9",
"@nestjs/schematics": "10.2.3",
"@nestjs/testing": "10.4.15",
"@shelf/jest-dynamodb": "3.5.0",
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/aws-lambda": "8.10.147",
"@types/express": "4.17.21",
"@types/jest": "29.5.14",
"@types/js-yaml": "4.0.9",
"@types/node": "20.17.16",
"@types/serverless": "3.12.26",
"@types/supertest": "6.0.2",
"@types/uuid": "9.0.8",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"change-case": "5.4.4",
"cross-env": "7.0.3",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"glob-promise": "6.0.7",
"jest": "29.7.0",
"js-yaml": "4.1.0",
"lint-staged": "15.4.3",
"prettier": "3.4.2",
"serverless": "3.40.0",
"serverless-dynamodb-local": "0.2.40",
"serverless-offline": "13.9.0",
"serverless-plugin-typescript": "2.1.5",
"supertest": "6.3.4",
"ts-jest": "29.2.5",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"tsconfig-paths": "4.2.0",
"typescript": "5.7.3"
},
"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"
}
}
}