UNPKG

@42.nl/final-form-field-validation

Version:
111 lines (110 loc) 2.92 kB
{ "name": "@42.nl/final-form-field-validation", "version": "1.0.5", "description": "Validating final forms.", "files": [ "lib" ], "main": "lib/index.js", "repository": { "type": "git", "url": "git+https://github.com/42BV/final-form-field-validation.git" }, "keywords": [ "final-form", "react-final-form" ], "author": "Gido Manders", "license": "ISC", "bugs": { "url": "https://github.com/42BV/final-form-field-validation/issues" }, "homepage": "https://github.com/42BV/final-form-field-validation#readme", "peerDependencies": { "final-form": "^4.20.6||^5.0.0", "react-final-form": "^6.5.8||^7.0.0" }, "devDependencies": { "@testing-library/dom": "10.4.0", "@testing-library/jest-dom": "6.6.3", "@testing-library/react": "16.3.0", "@types/jest": "29.5.14", "@types/jsdom": "21.1.7", "@types/react": "19.1.7", "@types/react-dom": "19.1.6", "eslint": "9.28.0", "eslint-config-prettier": "10.1.5", "eslint-plugin-jest": "28.13.0", "eslint-plugin-react": "7.37.5", "final-form": "5.0.0", "husky": "9.1.7", "jest": "29.7.0", "jest-environment-jsdom": "29.7.0", "jest-watch-typeahead": "2.2.2", "jsdom": "26.1.0", "lint-staged": "16.1.0", "np": "10.2.0", "prettier": "3.5.3", "react": "19.1.0", "react-dom": "19.1.0", "react-final-form": "7.0.0", "ts-jest": "29.3.4", "typescript": "5.8.3", "typescript-eslint": "8.34.0" }, "scripts": { "start": "jest --watch --coverage", "clean": "rm -rf lib", "test": "npm run lint && npm run test:ts && npm run test:coverage", "test:ts": "tsc --version && tsc --noEmit", "test:coverage": "jest test --no-cache --coverage", "docs": "jekyll serve --source docs", "tsc": "npm run clean && tsc --version && tsc", "lint": "npm run lint:test && npm run lint:src", "lint:test": "eslint \"tests/**\" --max-warnings=0", "lint:src": "eslint \"src/**\" --max-warnings=0", "release": "npm run tsc && np", "dev:publish": "./scripts/dev-publish.sh", "version": "npm run tsc && jekyll build", "prepare": "husky install" }, "jest": { "roots": [ "src", "tests" ], "collectCoverageFrom": [ "./src/**/*.{ts,tsx}" ], "setupFilesAfterEnv": [ "./tests/setupTests.ts" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } }, "moduleFileExtensions": [ "ts", "tsx", "js" ], "transform": { "\\.tsx?$": "ts-jest" }, "restoreMocks": true, "watchPlugins": [ "jest-watch-typeahead/filename", "jest-watch-typeahead/testname" ], "testEnvironment": "jsdom" }, "lint-staged": { "{src,tests}/**/*.{js,jsx,json,scss,ts,tsx}": [ "prettier --write" ] } }