@42.nl/jarb-final-form
Version:
Validating forms through JaRB.
124 lines (123 loc) • 3.39 kB
JSON
{
"name": "@42.nl/jarb-final-form",
"version": "3.1.5",
"description": "Validating forms through JaRB.",
"files": [
"lib"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/42BV/jarb-final-form.git"
},
"keywords": [
"JaRB",
"final-form",
"react-final-form"
],
"author": "Maarten Hus",
"license": "ISC",
"bugs": {
"url": "https://github.com/42BV/jarb-final-form/issues"
},
"homepage": "https://github.com/42BV/jarb-final-form#readme",
"peerDependencies": {
"@42.nl/final-form-field-validation": "^1.0.0",
"@42.nl/spring-connect": ">=4.2 <8.0",
"final-form": "^4.20.6||^5.0.0",
"react-final-form": "^6.5.8||^7.0.0"
},
"devDependencies": {
"@42.nl/final-form-field-validation": "1.0.5",
"@42.nl/spring-connect": "7.1.2",
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.3.0",
"@testing-library/user-event": "14.6.1",
"@types/jest": "29.5.14",
"@types/jsdom": "21.1.7",
"@types/lodash": "4.17.17",
"@types/react": "19.1.7",
"@types/react-dom": "19.1.6",
"@typescript-eslint/eslint-plugin": "8.34.0",
"@typescript-eslint/parser": "8.34.0",
"axios": "1.9.0",
"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-mock-axios": "4.8.0",
"jest-watch-typeahead": "2.2.2",
"jsdom": "26.1.0",
"lint-staged": "16.1.0",
"lodash": "4.17.21",
"np": "10.2.0",
"prettier": "3.5.3",
"query-string": "7.1.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 --single-quote --trailingComma none --write"
]
}
}