-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
123 lines (123 loc) · 3.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
{
"name": "@42.nl/jarb-final-form",
"version": "3.1.4",
"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",
"react-final-form": "^6.5.8"
},
"devDependencies": {
"@42.nl/final-form-field-validation": "1.0.3",
"@42.nl/spring-connect": "7.0.0",
"@testing-library/dom": "9.0.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@testing-library/user-event": "14.4.3",
"@types/jest": "29.4.0",
"@types/jsdom": "21.1.0",
"@types/lodash": "4.14.191",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"@typescript-eslint/eslint-plugin": "5.53.0",
"@typescript-eslint/parser": "5.53.0",
"axios": "1.3.4",
"eslint": "8.34.0",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.32.2",
"final-form": "4.20.9",
"husky": "8.0.3",
"jest": "29.4.3",
"jest-environment-jsdom": "29.4.3",
"jest-mock-axios": "4.6.2",
"jest-watch-typeahead": "2.2.2",
"jsdom": "21.1.0",
"lint-staged": "13.1.2",
"lodash": "4.17.21",
"np": "7.6.3",
"prettier": "2.8.4",
"query-string": "7.1.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-final-form": "6.5.9",
"ts-jest": "29.0.5",
"typescript": "4.9.5"
},
"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"
]
}
}