-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
99 lines (99 loc) · 2.72 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
{
"name": "react-axios-progressbar",
"version": "1.2.0",
"description": "Show a ProgressBar in React whenever an axios request is in progress.",
"files": [
"lib"
],
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/42BV/react-axios-progressbar.git"
},
"keywords": [
"React",
"Axios",
"Progressbar"
],
"author": "Gido Manders",
"license": "ISC",
"bugs": {
"url": "https://github.com/42BV/react-axios-progressbar/issues"
},
"homepage": "https://github.com/42BV/react-axios-progressbar#readme",
"peerDependencies": {
"axios": "^0.27.2||^1.0.0",
"react": "^17.0.2||^18.0.0||^19.0.0"
},
"devDependencies": {
"@testing-library/dom": "10.4.0",
"@testing-library/jest-dom": "6.6.3",
"@testing-library/react": "16.1.0",
"@types/enzyme-to-json": "1.5.7",
"@types/jest": "29.5.14",
"@types/react": "19.0.7",
"@typescript-eslint/eslint-plugin": "8.20.0",
"@typescript-eslint/parser": "8.20.0",
"axios": "1.7.9",
"eslint": "8.57.1",
"eslint-config-prettier": "10.0.1",
"eslint-plugin-jest": "28.10.0",
"eslint-plugin-react": "7.37.4",
"eslint-plugin-react-hooks": "5.1.0",
"husky": "9.1.7",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "15.3.0",
"np": "10.1.0",
"prettier": "3.4.2",
"react": "19.0.0",
"react-dom": "19.0.0",
"ts-jest": "29.2.5",
"typescript": "5.7.3"
},
"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 --coverage --no-cache",
"test:watch": "jest --watch --coverage",
"tsc": "npm run clean && tsc --version && tsc",
"lint": "npm run lint:src && npm run lint:test",
"lint:src": "eslint \"src/**\" --ext js,jsx,ts,tsx --max-warnings=0",
"lint:test": "eslint \"tests/**\" --ext js,jsx,ts,tsx --max-warnings=0",
"release": "npm run tsc && np",
"dev:publish": "./scripts/dev-publish.sh",
"prepare": "husky install"
},
"jest": {
"collectCoverageFrom": [
"<rootDir>/src/*.{ts,tsx}"
],
"coverageDirectory": "<rootDir>/coverage",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
},
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"transform": {
"\\.tsx?$": "ts-jest"
},
"restoreMocks": true,
"testRegex": "/tests/.*\\.(ts|tsx)$",
"testEnvironment": "jsdom"
},
"lint-staged": {
"{src,tests}/**/*.{js,jsx,json,scss,ts,tsx}": [
"prettier --write"
]
}
}