-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.49 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
{
"name": "@42.nl/authentication",
"version": "2.2.0",
"description": "Authenticating with a Spring Security application and storing the currentUser.",
"files": [
"lib"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/42BV/react-authentication.git"
},
"keywords": [
"redux",
"authentication",
"Spring Boot"
],
"author": "Maarten Hus",
"license": "ISC",
"bugs": {
"url": "https://github.com/42BV/react-authentication/issues"
},
"homepage": "https://github.com/42BV/react-authentication#readme",
"peerDependencies": {
"react-router": "^6.0 || ^7.0"
},
"devDependencies": {
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.0.1",
"@types/fetch-mock": "7.3.8",
"@types/jest": "29.5.14",
"@types/react": "18.3.13",
"@types/react-dom": "18.3.1",
"@typescript-eslint/eslint-plugin": "8.17.0",
"@typescript-eslint/parser": "8.17.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-jest": "28.9.0",
"eslint-plugin-react": "7.37.2",
"eslint-plugin-react-hooks": "5.0.0",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.2.10",
"node-fetch": "3.3.2",
"np": "10.1.0",
"prettier": "3.4.2",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router": "7.0.2",
"ts-jest": "29.2.5",
"typescript": "5.7.2"
},
"scripts": {
"start": "jest test --watch",
"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 -s docs",
"coverage": "npm test -- --coverage",
"tsc": "npm run clean && tsc --version && tsc",
"lint": "npm run lint:test && npm run lint:src",
"lint:test": "eslint \"src/**\"",
"lint:src": "eslint \"tests/**\"",
"release": "npm run tsc && np",
"dev:publish": "./scripts/dev-publish.sh",
"prepare": "husky install"
},
"jest": {
"collectCoverage": true,
"setupFilesAfterEnv": [
"<rootDir>/setupTests.ts"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"node"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
},
"testRegex": "/tests/.*\\.(ts|tsx)$",
"testEnvironment": "jsdom"
},
"lint-staged": {
"{src,tests}/**/*.{js,jsx,json,scss,ts,tsx}": [
"prettier --write"
]
}
}