UNPKG

nope-validator

Version:
86 lines 2.12 kB
{ "name": "nope-validator", "version": "1.1.1", "source": "src/index.ts", "main": "lib/cjs/index.js", "umd:main": "lib/umd/index.js", "module": "lib/esm/index.js", "types": "lib/cjs/index.d.ts", "sideEffects": false, "license": "MIT", "description": "Fast and simple JS validator", "exports": { "./package.json": "./package.json", ".": { "import": { "types": "./lib/esm/index.d.mts", "default": "./lib/esm/index.js" }, "require": { "types": "./lib/cjs/index.d.ts", "default": "./lib/cjs/index.js" } } }, "scripts": { "format": "prettier --write \"src/**/*.ts\"", "lint": "eslint \"src/**/*.ts\"", "test": "jest --env=node --colors --watchAll=false src/**/*.spec.ts", "test:imports": "node test-imports.js", "build": "rm -rf lib && tsup", "prepare": "pnpm build && husky || true", "prepublishOnly": "pnpm test && pnpm lint", "preversion": "npm run lint", "version": "pnpm format && git add -A src", "postversion": "git push && git push --tags" }, "files": [ "lib/**/*" ], "author": { "name": "Bruno Vego", "email": "bruno.vego@gmail.com" }, "contributors": [ { "name": "Ademílson F. Tonato", "email": "ademilsonft@outlook.com" } ], "repository": { "url": "git@github.com:ftonato/nope-validator.git", "type": "git" }, "lint-staged": { "*.ts": [ "pnpm format", "pnpm lint" ] }, "devDependencies": { "@eslint/js": "^9.39.2", "@types/jest": "^29.5.14", "@types/node": "^20.17.10", "@typescript-eslint/eslint-plugin": "^8.53.1", "@typescript-eslint/parser": "^8.53.1", "eslint": "^9.39.2", "eslint-config-prettier": "^9.1.0", "eslint-plugin-prettier": "^5.2.1", "globals": "^17.0.0", "husky": "^9.1.7", "jest": "^29.7.0", "lint-staged": "^15.2.11", "prettier": "^3.4.2", "ts-jest": "^29.2.5", "tsup": "^8.5.1", "typescript": "^5.7.2" }, "keywords": [ "nope", "js", "object", "validation", "validator", "scheme" ] }