livr
Version:
Lightweight validator supporting Language Independent Validation Rules Specification
72 lines (71 loc) • 2.29 kB
JSON
{
"name": "livr",
"version": "2.10.2",
"description": "Lightweight validator supporting Language Independent Validation Rules Specification",
"homepage": "https://github.com/koorchik/js-validator-livr",
"author": {
"name": "koorchik",
"url": "https://github.com/koorchik"
},
"license": "MIT",
"main": "./lib/LIVR.js",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"require": "./lib/LIVR.js",
"import": "./lib/LIVR.js"
},
"./types/inference": {
"types": "./types/inference.d.ts"
}
},
"scripts": {
"test": "nyc ava && tsc --noEmit",
"bench": "node benchmarks/bench.js",
"build-sync:min": "webpack --entry ./scripts/browser_build_entry-sync.js --mode production -o ./dist/production/",
"build-sync:debug": "webpack --entry ./scripts/browser_build_entry-sync.js --mode development -o ./dist/development/",
"build-async:min": "webpack --entry ./scripts/browser_build_entry-async.js --mode production -o ./dist/production-async/",
"build-async:debug": "webpack --entry ./scripts/browser_build_entry-async.js --mode development -o ./dist/development-async/",
"build": "npm run build-sync:min && npm run build-sync:debug && npm run build-async:min && npm run build-async:debug"
},
"repository": {
"type": "git",
"url": "https://github.com/koorchik/js-validator-livr.git"
},
"bugs": {
"url": "https://github.com/koorchik/js-validator-livr/issues"
},
"keywords": [
"validator",
"validation",
"livr",
"schema",
"sanitize"
],
"devDependencies": {
"ava": "^6.4.1",
"benchmark": "^2.1.4",
"nyc": "^17.1.0",
"typescript": "^5.9.3",
"webpack": "^5.75.0",
"webpack-cli": "^4.10.0"
},
"ava": {
"files": [
"t/tests-sync/*.js",
"t/tests-async/*.js"
]
},
"nyc": {
"check-coverage": true,
"per-file": true,
"lines": 80,
"statements": 80,
"functions": 80,
"branches": 80,
"exclude": [
"t/**/*.js"
]
}
}