UNPKG

livr

Version:

Lightweight validator supporting Language Independent Validation Rules Specification

80 lines (79 loc) 2.42 kB
{ "name": "livr", "version": "2.8.1", "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", "scripts": { "test": "nyc ava && npm run size", "size": "size-limit", "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" }, "size-limit": [ { "path": "lib/Validator.js", "limit": "1.5 KB" }, { "path": "lib/AsyncValidator.js", "limit": "1.5 KB" }, { "path": "lib/LIVR.js", "limit": "4.5 KB" }, { "path": "async.js", "limit": "4.5 KB" } ], "bugs": { "url": "https://github.com/koorchik/js-validator-livr/issues" }, "keywords": [ "validator", "validation", "livr", "schema", "sanitize" ], "devDependencies": { "@size-limit/preset-small-lib": "^8.1.0", "ava": "^5.3.1", "nyc": "^15.1.0", "size-limit": "^8.1.0", "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" ] } }