-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
104 lines (104 loc) · 3.26 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
{
"name": "config-server",
"version": "3.3.0",
"description": "A REST Continuous Delivery Configuration Server",
"author": "[email protected]",
"private": true,
"license": "MIT",
"husky": {
"hooks": {
"pre-push": "npm run test && npm run test:e2e",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"engines": {
"node": "^14.17.0",
"npm": "^6.14.13"
},
"scripts": {
"commitlint": "commitlint",
"postinstall": "husky install",
"prebuild": "rimraf dist",
"build": "nest build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"sync:configfiles:watch": "sync-glob --watch --delete 'src/_configfiles/**/*' dist/configfiles",
"sync:configfiles": "sync-glob --delete 'src/_configfiles/**/*' dist/configfiles",
"start:dev": "nest start --watch --watchAssets && npm run sync:configfiles:watch",
"start:debug": "nest start --debug --watch",
"start:prod": "node dist/main",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"jest": "jest",
"test": "npm run 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",
"test:e2e:watch": "jest --watch --config ./test/jest-e2e.json",
"release": "standard-version",
"docker:build:version": "docker build -t markusfalk/cd-config-server:$npm_package_version .",
"docker:build:latest": "docker build -t markusfalk/cd-config-server:latest ."
},
"dependencies": {
"@nestjs/axios": "0.0.1",
"@nestjs/common": "^8.0.5",
"@nestjs/config": "^1.0.1",
"@nestjs/core": "^8.0.5",
"@nestjs/platform-express": "^8.0.5",
"@nestjs/swagger": "^5.0.9",
"cache-manager": "^3.4.4",
"express-rate-limit": "^5.3.0",
"hbs": "^4.1.2",
"helmet": "^4.6.0",
"reflect-metadata": "^0.1.13",
"remote-git-tags": "^3.0.0",
"rimraf": "^3.0.2",
"rxjs": "^7.3.0",
"swagger-ui-express": "^4.1.6"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@nestjs/cli": "^8.1.0",
"@nestjs/schematics": "^8.0.2",
"@nestjs/testing": "^8.0.5",
"@types/cache-manager": "^3.4.2",
"@types/express": "^4.17.13",
"@types/jest": "^26.0.24",
"@types/node": "^14.17.6",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"btoa": "^1.2.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^5.2.0",
"jest": "^26.6.3",
"prettier": "^2.3.2",
"standard-version": "^9.3.1",
"supertest": "^6.1.4",
"sync-glob": "^1.4.0",
"ts-jest": "^26.5.6",
"ts-loader": "^8.3.0",
"ts-node": "^9.1.1",
"tsconfig-paths": "^3.10.1",
"typescript": "^4.3.5"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}