UNPKG

class-validator-extended

Version:
80 lines (79 loc) 2.93 kB
{ "name": "class-validator-extended", "version": "4.2.1", "description": "Additional validators for class-validator.", "keywords": [ "validator", "validation", "decorators", "typescript", "class-validator", "plugin" ], "homepage": "https://github.com/pigulla/class-validator-extended#readme", "bugs": { "url": "https://github.com/pigulla/class-validator-extended/issues" }, "repository": { "type": "git", "url": "git+https://github.com/pigulla/class-validator-extended.git" }, "license": "MIT", "author": { "name": "Raphael Pigulla", "email": "pigulla@four66.com" }, "main": "dist/index.js", "directories": { "lib": "src", "doc": "docs", "test": "test" }, "files": [ "package-lock.json", "CHANGELOG.md", "dist/" ], "scripts": { "audit": "npm audit && npm audit signatures", "build": "rm -rf dist && tsc --project tsconfig.build.json && npm run docs:generate", "docs:generate": "typedoc", "format": "npm run format:package-json", "format:biome": "biome format", "format:package-json": "sort-package-json", "lint": "npm run lint:tsc && npm run lint:biome && npm run lint:package-json && npm run lint:lockfile", "lint:biome": "biome check", "lint:lockfile": "lockfile-lint", "lint:package-json": "sort-package-json --check", "lint:tsc": "tsc --noEmit --project tsconfig.json && tsc --noEmit --project test/tsconfig.json", "prepublishOnly": "npm run setup && npm test && npm run build", "setup": "npm ci && rm -rf coverage dist docs", "test": "npm run lint && npm run test:coverage && npm run audit", "test:coverage": "mkdir -p coverage && node --disable-warning=ExperimentalWarning --require @swc-node/register --experimental-test-coverage --experimental-test-module-mocks --test-reporter=lcov --test-reporter-destination=coverage/lcov.info --test-reporter=spec --test-reporter-destination=stdout --require=./test/setup.ts --test-coverage-include='src/**/*.ts' --test test/**/*.spec.ts" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "devDependencies": { "@biomejs/biome": "2.0.6", "@swc-node/register": "1.10.10", "@types/node": "24.0.10", "@types/sprintf-js": "1.1.4", "@types/validator": "13.15.2", "cz-conventional-changelog": "3.3.0", "lockfile-lint": "4.14.1", "sort-package-json": "3.4.0", "sprintf-js": "1.1.3", "typedoc": "0.28.7", "typescript": "5.8.3" }, "peerDependencies": { "class-validator": "^0.14.1", "validator": "^13.9.0" }, "optionalDependencies": { "dayjs": "*" } }