-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
135 lines (135 loc) · 3.38 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
123
124
125
126
127
128
129
130
131
132
133
134
135
{
"name": "@ukitgroup/nestjs-config",
"version": "2.0.3",
"description": "modular config with type casting and validation out of the box",
"main": "index.js",
"peerDependencies": {
"@nestjs/common": "^9.1.4",
"@nestjs/core": "^9.1.4"
},
"dependencies": {
"@ukitgroup/class-transformer": "^1.0.1",
"class-validator": "^0.13.2",
"dotenv": "^16.0.3",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@commitlint/cli": "^9.0.1",
"@commitlint/config-conventional": "^17.0.3",
"@nestjs/common": "^9.1.4",
"@nestjs/core": "^9.1.4",
"@types/dotenv": "^8.2.0",
"@types/jest": "^26.0.0",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"coveralls": "^3.1.0",
"eslint": "^7.3.1",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-prettier": "^3.1.4",
"husky": "^4.2.5",
"jest": "^28.1.2",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"semantic-release": "^19.0.3",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
},
"scripts": {
"test": "jest --passWithNoTests",
"test:cov": "jest --coverage --passWithNoTests",
"test:e2e": "jest --config ./e2e-test/jest-e2e.json --forceExit --detectOpenHandles --passWithNoTests",
"lint": "eslint --ignore-path .gitignore \"**/*.{js,ts}\"",
"precommit": "lint-staged",
"build": "tsc --skipLibCheck -p tsconfig.build.json",
"report-coverage": "cat coverage/lcov.info | coveralls",
"prebuild": "rimraf ./dist",
"postbuild": "cp package.json dist && cp README.md dist",
"semantic-release": "cp ./package.json ./dist/package.json && cp ./README.md ./dist/README.md && cd ./dist && semantic-release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ukitgroup/nestjs-config.git"
},
"author": "Goodluckhf <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ukitgroup/nestjs-config/issues"
},
"homepage": "https://github.com/ukitgroup/nestjs-config#readme",
"keywords": [
"nestjs",
"config",
"env",
"variables",
"type",
"validate",
"transform"
],
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{js,ts}": [
"eslint --fix --ignore-path .gitignore",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".spec.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"coverageDirectory": "../coverage",
"collectCoverageFrom": [
"**/*.ts"
],
"coveragePathIgnorePatterns": [
"/node_modules/",
"index.ts",
"tokens.ts",
"logger.ts"
],
"testEnvironment": "node",
"globals": {
"ts-jest": {
"diagnostics": {
"warnOnly": true
}
}
}
},
"release": {
"analyzeCommits": {
"preset": "angular",
"releaseRules": [
{
"type": "refactor",
"release": "patch"
},
{
"type": "chore",
"release": "patch"
},
{
"type": "docs",
"release": "patch"
}
]
}
}
}