/
package.json
112 lines (112 loc) · 2.96 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
{
"name": "nest-cookies",
"version": "1.3.0",
"description": "A module to work with setting and reading cookies in NestJS",
"keywords": [
"NestJS",
"Nest",
"Express",
"Fastify",
"Cookies"
],
"author": "Jay McDoniel <me@jaymcdoniel.dev>",
"private": false,
"license": "MIT",
"files": [
"dist"
],
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"prebuild": "rimraf dist",
"build": "nest build",
"prebuild:deploy": "rimraf dist",
"build:deploy": "nest build -p tsconfig.deploy.json",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test:e2e": "jest --config ./test/jest-e2e.json",
"preversion": "pnpm build:deploy",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md"
},
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@mercuriusjs/gateway": "^1.2.0",
"@nestjs/apollo": "^12.0.1",
"@nestjs/cli": "^10.0.2",
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/graphql": "^12.0.1",
"@nestjs/mercurius": "^12.0.1",
"@nestjs/platform-express": "^10.0.0",
"@nestjs/platform-fastify": "^10.0.0",
"@nestjs/schematics": "^10.0.1",
"@nestjs/testing": "^10.0.0",
"@types/express": "^4.17.17",
"@types/jest": "29.5.1",
"@types/node": "^20.1.2",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "5.59.5",
"@typescript-eslint/parser": "5.59.5",
"apollo-server-express": "^3.12.0",
"apollo-server-fastify": "^3.12.0",
"conventional-changelog-cli": "^2.2.2",
"cz-conventional-changelog": "^3.3.0",
"eslint": "8.40.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"fastify": "^4.17.0",
"graphql": "^16.6.0",
"graphql-tools": "^8.3.20",
"husky": "^8.0.3",
"jest": "29.5.0",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"reflect-metadata": "^0.1.13",
"rimraf": "^5.0.0",
"rxjs": "^7.8.1",
"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"
},
"peerDependencies": {
"@nestjs/common": ">=7.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --ext ts"
],
"*.{js,json,html,md}": [
"prettier --write"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}