generated from Byndyusoft/node-typescript-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 3.32 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
{
"name": "@byndyusoft/nest-http-client",
"version": "0.0.0-development",
"description": "axios for NestJS",
"homepage": "https://github.com/Byndyusoft/nest-http-client#readme",
"bugs": {
"url": "https://github.com/Byndyusoft/nest-http-client/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/Byndyusoft/nest-http-client.git"
},
"license": "Apache-2.0",
"author": "Byndyusoft",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"src",
"!dist/*.tsbuildinfo",
"!**/__tests__",
"!**/*spec.ts"
],
"scripts": {
"prebuild": "shx rm -rf ./dist",
"build": "yarn run prebuild && yarn run build:src",
"build:src": "tsc --project ./tsconfig.build.json",
"postinstall": "husky install",
"lint": "yarn run lint:eslint && yarn run lint:markdown && yarn run lint:prettier",
"lint:eslint": "eslint --ignore-path ./.gitignore --max-warnings 0 --ext .ts,.js .",
"lint:eslint:fix": "eslint --ignore-path ./.gitignore --fix --ext .ts,.js .",
"lint:fix": "yarn run lint:eslint:fix && yarn run lint:markdown:fix && yarn run lint:prettier:fix",
"lint:markdown": "markdownlint --ignore-path ./.gitignore \"./**/*.md\"",
"lint:markdown:fix": "markdownlint --ignore-path ./.gitignore --fix \"./**/*.md\"",
"lint:prettier": "prettier --ignore-path ./.gitignore --check \"./**/*.{ts,js,json,yaml,yml,md}\"",
"lint:prettier:fix": "prettier --ignore-path ./.gitignore --write \"./**/*.{ts,js,json,yaml,yml,md}\"",
"prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable",
"test": "jest",
"test:cov": "jest --coverage"
},
"jest": {
"collectCoverageFrom": [
"./src/**/*.ts",
"!**/__tests__/**/*.ts",
"!**/index.ts"
],
"coverageDirectory": "<rootDir>/coverage",
"coverageReporters": [
"lcov",
"text"
],
"moduleFileExtensions": [
"ts",
"js"
],
"resetMocks": true,
"rootDir": "./",
"roots": [
"<rootDir>/src",
"<rootDir>/test"
],
"setupFilesAfterEnv": [
"jest-extended/all"
],
"testEnvironment": "node",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.ts$": "ts-jest"
}
},
"dependencies": {
"@byndyusoft/nest-dynamic-module": "^1.0.0",
"deepmerge": "^4.2.2",
"lodash": "^4.17.21",
"tslib": "^2.4.0"
},
"devDependencies": {
"@byndyusoft/eslint-config": "2.0.0",
"@byndyusoft/tsconfig": "1.1.0",
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.1.0",
"@nestjs/common": "8.4.7",
"@types/jest": "28.1.8",
"@types/lodash": "4.14.185",
"@types/node": "14.18.28",
"axios": "0.27.2",
"eslint": "8.23.1",
"husky": "8.0.1",
"jest": "28.1.3",
"jest-extended": "3.1.0",
"lint-staged": "13.0.3",
"markdownlint-cli": "0.32.2",
"pinst": "3.0.0",
"prettier": "2.7.1",
"prettier-plugin-packagejson": "2.2.18",
"semantic-release": "19.0.5",
"shx": "0.3.4",
"ts-jest": "28.0.8",
"typescript": "4.8.3"
},
"peerDependencies": {
"@nestjs/common": "^8.4.7",
"axios": "^0.27.2"
},
"peerDependenciesMeta": {
"axios": {
"optional": true
}
},
"packageManager": "yarn@4.0.0-rc.18",
"engines": {
"node": ">=14"
},
"publishConfig": {
"access": "public"
}
}