@elxxx/nestjs-class-validator
Version:
Integración de NestJS para class-validator con soporte i18n utilizando encabezados Accept-Language y archivos de locales personalizables.
115 lines (114 loc) • 3.39 kB
JSON
{
"name": "@elxxx/nestjs-class-validator",
"version": "1.0.4",
"publishConfig": {
"access": "public"
},
"description": "Integración de NestJS para class-validator con soporte i18n utilizando encabezados Accept-Language y archivos de locales personalizables.",
"author": "Elxxx",
"private": false,
"license": "MIT",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"keywords": [
"nestjs",
"class-validator",
"validation",
"i18n",
"internationalization",
"localization",
"accept-language",
"nestjs-pipe",
"nestjs-filter",
"error-messages",
"multilingual",
"multi-language",
"validator-i18n"
],
"scripts": {
"build": "rm -rf dist && nest build && cp -r src/messages dist/messages",
"prepublishOnly": "npm run build",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"start:dev": "nodemon test/main.ts",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"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",
"prepare": "husky"
},
"peerDependencies": {
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0",
"@nestjs/core": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0 || ^11.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19.8.0",
"@commitlint/config-angular": "^19.8.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.18.0",
"@nestjs/cli": "^11.0.0",
"@nestjs/common": "^11.0.11",
"@nestjs/core": "^11.0.11",
"@nestjs/mapped-types": "^2.1.0",
"@nestjs/platform-express": "^11.0.11",
"@nestjs/platform-fastify": "^11.0.11",
"@nestjs/schematics": "^11.0.0",
"@nestjs/testing": "^11.0.1",
"@swc/cli": "^0.6.0",
"@swc/core": "^1.10.7",
"@types/express": "^5.0.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.7",
"@types/supertest": "^6.0.2",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"eslint": "^9.18.0",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-prettier": "^5.2.2",
"eslint-plugin-simple-import-sort": "^12.1.1",
"globals": "^16.0.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"nodemon": "^3.1.9",
"prettier": "^3.4.2",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.2",
"source-map-support": "^0.5.21",
"supertest": "^7.0.0",
"ts-jest": "^29.2.5",
"ts-loader": "^9.5.2",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.7.3",
"typescript-eslint": "^8.20.0"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Elxxx/elxxx-nestjs-class-validator.git"
},
"bugs": {
"url": "https://github.com/Elxxx/elxxx-nestjs-class-validator/issues"
},
"homepage": "https://github.com/Elxxx/elxxx-nestjs-class-validator#readme"
}