-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.69 KB
/
Copy pathpackage.json
File metadata and controls
122 lines (122 loc) · 3.69 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
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:start": "cross-env NO_COLOR= cross-env IS_NOT_SLS= sls offline start",
"sls:online": "cross-env NO_COLOR= cross-env IS_NOT_SLS= cross-env IS_DDB_LOCAL= sls offline",
"genres": "ts-node genres.ts -- \"src/**/*.schema.ts\" \"resource/dynamodb.yml\""
},
"dependencies": {
"@aws-sdk/client-dynamodb": "3.53.0",
"@graphql-tools/merge": "8.2.3",
"@nestjs/common": "8.4.0",
"@nestjs/config": "1.2.0",
"@nestjs/core": "8.4.0",
"@nestjs/graphql": "9.1.2",
"@nestjs/platform-express": "8.4.0",
"@vendia/serverless-express": "4.5.4",
"apollo-server-express": "3.6.3",
"class-transformer": "0.5.1",
"class-validator": "0.13.2",
"dynamoose": "2.8.5",
"graphql": "15.8.0",
"nestjs-dynamoose": "0.3.4",
"reflect-metadata": "0.1.13",
"rimraf": "3.0.2",
"rxjs": "7.5.4",
"type-graphql": "1.1.1",
"uuid": "8.3.2"
},
"devDependencies": {
"@commitlint/cli": "15.0.0",
"@commitlint/config-conventional": "15.0.0",
"@nestjs/cli": "8.2.1",
"@nestjs/schematics": "8.0.8",
"@nestjs/testing": "8.4.0",
"@shelf/jest-dynamodb": "2.1.0",
"@types/aws-lambda": "8.10.92",
"@types/express": "4.17.13",
"@types/jest": "27.4.1",
"@types/js-yaml": "4.0.5",
"@types/node": "16.11.26",
"@types/serverless": "1.78.44",
"@types/supertest": "2.0.11",
"@types/uuid": "8.3.4",
"@typescript-eslint/eslint-plugin": "5.13.0",
"@typescript-eslint/parser": "5.13.0",
"change-case": "4.1.2",
"cross-env": "7.0.3",
"eslint": "8.10.0",
"eslint-config-prettier": "8.4.0",
"eslint-plugin-import": "2.25.4",
"glob-promise": "4.2.2",
"husky": "7.0.4",
"jest": "27.5.1",
"js-yaml": "4.1.0",
"lint-staged": "12.3.4",
"prettier": "2.5.1",
"serverless": "2.72.3",
"serverless-dynamodb-local": "0.2.40",
"serverless-offline": "8.5.0",
"serverless-plugin-typescript": "2.1.1",
"supertest": "6.2.2",
"ts-jest": "27.1.3",
"ts-loader": "9.2.6",
"ts-node": "10.6.0",
"tsconfig-paths": "3.12.0",
"typescript": "4.6.2"
},
"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"
}
}
}