|
1 | 1 | {
|
2 |
| - "name": "@byndyusoft/typescript-template", |
| 2 | + "name": "@byndyusoft/class-validator-extended", |
3 | 3 | "version": "0.0.0-development",
|
4 |
| - "description": "Base template for TypeScript packages", |
5 |
| - "homepage": "https://github.com/Byndyusoft/node-typescript-template#readme", |
| 4 | + "description": "Additional decorators for class-validator and class-transformer", |
| 5 | + "homepage": "https://github.com/Byndyusoft/class-validator-extended#readme", |
6 | 6 | "bugs": {
|
7 |
| - "url": "https://github.com/Byndyusoft/node-typescript-template/issues" |
| 7 | + "url": "https://github.com/Byndyusoft/class-validator-extended/issues" |
8 | 8 | },
|
9 | 9 | "repository": {
|
10 | 10 | "type": "git",
|
11 |
| - "url": "https://github.com/Byndyusoft/node-typescript-template.git" |
| 11 | + "url": "https://github.com/Byndyusoft/class-validator-extended.git" |
12 | 12 | },
|
13 | 13 | "license": "Apache-2.0",
|
14 | 14 | "author": "Byndyusoft",
|
|
65 | 65 | "<rootDir>/src",
|
66 | 66 | "<rootDir>/test"
|
67 | 67 | ],
|
| 68 | + "setupFiles": [ |
| 69 | + "reflect-metadata" |
| 70 | + ], |
68 | 71 | "setupFilesAfterEnv": [
|
69 | 72 | "jest-extended"
|
70 | 73 | ],
|
|
75 | 78 | }
|
76 | 79 | },
|
77 | 80 | "dependencies": {
|
78 |
| - "tslib": "^2.3.0" |
| 81 | + "lodash": "^4.17.21", |
| 82 | + "tslib": "^2.3.1", |
| 83 | + "yn": "^5.0.0" |
79 | 84 | },
|
80 | 85 | "devDependencies": {
|
81 |
| - "@byndyusoft/eslint-config": "^1.0.0", |
82 |
| - "@byndyusoft/tsconfig": "^1.0.0", |
| 86 | + "@byndyusoft/eslint-config": "^1.1.0", |
| 87 | + "@byndyusoft/tsconfig": "^1.1.0", |
83 | 88 | "@commitlint/cli": "^13.1.0",
|
84 | 89 | "@commitlint/config-conventional": "^13.1.0",
|
85 |
| - "@types/jest": "^26.0.24", |
86 |
| - "@types/node": "^16.4.7", |
87 |
| - "eslint": "^7.31.0", |
88 |
| - "husky": "^7.0.1", |
89 |
| - "jest": "^27.0.6", |
| 90 | + "@types/jest": "^27.0.1", |
| 91 | + "@types/lodash": "^4.14.172", |
| 92 | + "@types/node": "^16.9.1", |
| 93 | + "class-transformer": "^0.4.0", |
| 94 | + "class-validator": "^0.13.1", |
| 95 | + "eslint": "^7.32.0", |
| 96 | + "husky": "^7.0.2", |
| 97 | + "jest": "^27.1.1", |
90 | 98 | "jest-extended": "^0.11.5",
|
91 |
| - "lint-staged": "^11.1.1", |
| 99 | + "lint-staged": "^11.1.2", |
92 | 100 | "markdownlint-cli": "^0.28.1",
|
93 | 101 | "pinst": "^2.1.6",
|
94 |
| - "prettier": "^2.3.2", |
| 102 | + "prettier": "^2.4.0", |
95 | 103 | "prettier-plugin-packagejson": "^2.2.11",
|
96 |
| - "semantic-release": "^17.4.4", |
| 104 | + "reflect-metadata": "^0.1.13", |
| 105 | + "semantic-release": "^17.4.7", |
97 | 106 | "shx": "^0.3.3",
|
98 |
| - "ts-jest": "^27.0.4", |
99 |
| - "ts-patch": "^1.4.1", |
100 |
| - "typescript": "^4.3.5", |
101 |
| - "typescript-transform-paths": "^3.1.0" |
| 107 | + "ts-jest": "^27.0.5", |
| 108 | + "ts-patch": "^1.4.4", |
| 109 | + "typescript": "^4.4.3", |
| 110 | + "typescript-transform-paths": "^3.3.1" |
| 111 | + }, |
| 112 | + "peerDependencies": { |
| 113 | + "class-transformer": "^0.4.0", |
| 114 | + "class-validator": "^0.13.1", |
| 115 | + "reflect-metadata": "^0.1.13" |
102 | 116 | },
|
103 | 117 | "engines": {
|
104 | 118 | "node": ">=12"
|
|
0 commit comments