generated from hejkerooo/nestjs-lib-starter
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
91 lines (91 loc) · 2.39 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
{
"name": "elastic-apm-nest",
"version": "0.0.7",
"description": "Elastic APM for NestJS",
"author": "Krzysztof Szostak",
"homepage": "https://github.com/hejkerooo/nestjs-apm",
"scripts": {
"commit": "git-cz",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --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",
"lint": "tslint -p tsconfig.json -c tslint.json",
"build": "rm -rf dist && tsc -p tsconfig.json",
"prepublish": "npm run build && npm run test",
"publish:npm": "npm publish --access public",
"prepublish:next": "npm run build && npm run test",
"build:test": "npm build && npm pack",
"release": "HUSKY_SKIP_HOOKS=1 standard-version --no-verify",
"docker": "docker-compose -f docker/docker-compose.yml up -d"
},
"husky": {
"hooks": {
"pre-push": "npm run test && npm run lint",
"pre-commit": "lint-staged"
}
},
"engines": {
"node": ">= 10.15.1"
},
"peerDependencies": {
"@nestjs/common": "^6.0.0",
"@nestjs/core": "^6.0.0",
"reflect-metadata": "^0.1.12",
"rxjs": "^6.0.0",
"elastic-apm-node": "^3.3.0"
},
"devDependencies": {
"@nestjs/platform-express": "^6.10.8",
"@nestjs/testing": "^6.5.3",
"@types/jest": "24.0.17",
"@types/node": "11.13.4",
"@types/supertest": "2.0.7",
"cz-conventional-changelog": "^3.0.2",
"husky": "3.0.3",
"jest": "24.8.0",
"lint-staged": "9.2.1",
"prettier": "1.17.0",
"rxjs": "6.5.2",
"standard-version": "^7.1.0",
"supertest": "^4.0.2",
"ts-jest": "24.0.2",
"tslint": "5.16.0",
"typescript": "^3.7.2"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"git add"
]
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "test",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"dependencies": {
"@nestjs/common": "^7.0.3",
"@nestjs/core": "^7.0.3",
"elastic-apm-node": "^3.3.0",
"reflect-metadata": "^0.1.13"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}