UNPKG

perfect-validator

Version:

A TypeScript-based validation library that supports both static and dynamic validation with serializable models.

85 lines (84 loc) 1.92 kB
{ "version": "0.1.10", "license": "MIT", "main": "dist/index.js", "typings": "dist/index.d.ts", "files": [ "dist", "src" ], "engines": { "node": ">=14" }, "scripts": { "start": "tsdx watch", "build": "tsdx build", "test": "tsdx test", "lint": "tsdx lint", "lint-fix": "tsdx lint --fix", "prepare": "tsdx build", "size": "size-limit", "analyze": "size-limit --why", "coverage": "tsdx test --coverage", "example": "ts-node -r tsconfig-paths/register -P tsconfig.example.json examples/mongoExample.ts" }, "husky": { "hooks": { "pre-commit": "tsdx lint" } }, "prettier": { "printWidth": 80, "semi": true, "singleQuote": true, "trailingComma": "es5" }, "name": "perfect-validator", "author": "Mayank Kakkar", "module": "dist/perfect-validator.esm.js", "size-limit": [ { "path": "dist/perfect-validator.cjs.production.min.js", "limit": "10 KB" }, { "path": "dist/perfect-validator.esm.js", "limit": "10 KB" } ], "keywords": [ "validation", "validators", "validate", "schema", "models", "dynamic", "dynamic-validation", "dynamic-validation-models" ], "repository": { "type": "git", "url": "https://github.com/zupee-labs/perfect-validator.git" }, "homepage": "https://github.com/zupee-labs/perfect-validator", "bugs": { "url": "https://github.com/zupee-labs/perfect-validator/issues" }, "devDependencies": { "@size-limit/preset-small-lib": "11.1.6", "@types/jest": "29.5.11", "@types/mongodb": "4.0.7", "@types/node": "20.10.6", "husky": "9.1.7", "jest": "29.7.0", "jest-environment-node": "29.7.0", "size-limit": "11.1.6", "ts-jest": "29.1.1", "tsdx": "0.14.1", "tslib": "2.8.1", "typescript": "5.7.3" }, "dependencies": { "mongodb": "4.1.3" } }