-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
101 lines (101 loc) · 2.76 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
{
"name": "@42.nl/react-spring-enums",
"version": "1.3.0",
"description": "Sharing enums with a Java Spring Boot back-end.",
"files": [
"lib"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/42BV/react-spring-enums.git"
},
"keywords": [
"Spring",
"Enum",
"React"
],
"author": "Maarten Hus",
"license": "ISC",
"bugs": {
"url": "https://github.com/42BV/react-spring-enums/issues"
},
"homepage": "https://github.com/42BV/react-spring-enums#readme",
"peerDependencies": {
"@42.nl/spring-connect": ">=6.1 <8.0"
},
"devDependencies": {
"@42.nl/spring-connect": "7.0.0",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "14.0.0",
"@types/jest": "29.5.0",
"@types/react": "18.0.28",
"@types/react-test-renderer": "18.0.0",
"@typescript-eslint/eslint-plugin": "5.56.0",
"@typescript-eslint/parser": "5.56.0",
"axios": "1.3.4",
"eslint": "8.36.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-react": "7.32.2",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "8.0.3",
"jest": "29.5.0",
"jest-environment-jsdom": "29.5.0",
"jest-watch-typeahead": "2.2.2",
"lint-staged": "13.2.0",
"np": "7.6.4",
"prettier": "2.8.6",
"query-string": "7.1.3",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"ts-jest": "29.0.5",
"typescript": "5.0.2"
},
"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": {
"testEnvironment": "jsdom",
"preset": "ts-jest",
"roots": [
"src",
"tests"
],
"collectCoverageFrom": [
"./src/**/*.{ts,tsx}"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"restoreMocks": true,
"watchPlugins": [
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname"
]
},
"lint-staged": {
"{src,tests}/**/*.{js,jsx,json,scss,ts,tsx}": [
"prettier --single-quote --trailing-comma none --write"
]
}
}