-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathpackage.json
81 lines (81 loc) · 2.23 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
{
"name": "@webscopeio/react-health-check",
"version": "3.0.1",
"description": "Lightweight React hook for checking health of API services.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "rollup -c",
"start": "rollup -c -w",
"test": "jest --passWithNoTests",
"types:check": "tsc --noEmit",
"format": "prettier --write \"{src,tests,examples}/**/*.{ts,tsx}\"",
"lint": "eslint \"{src,tests,examples}/**/*.{ts,tsx}\"",
"lint:fix": "eslint \"{src,tests,examples}/**/*.{ts,tsx}\" --fix",
"preversion": "npm test",
"version": "npm run build",
"postversion": "git push && git push --tags",
"package-size": "npm pack && tar -xvzf *.tgz && rm -rf package *.tgz"
},
"repository": {
"type": "git",
"url": "git+https://github.com/webscopeio/react-health-check.git"
},
"author": "Jozef Hruška <hruska@webscope.io>",
"contributors": [
"Ján Vorčák <vorcak@webscope.io>"
],
"license": "MIT",
"keywords": [
"react",
"health",
"check",
"hook",
"detect",
"offline",
"api"
],
"bugs": {
"url": "https://github.com/webscopeio/react-health-check/issues"
},
"homepage": "https://github.com/webscopeio/react-health-check#readme",
"devDependencies": {
"@rollup/plugin-typescript": "~8.3.4",
"@types/jest": "~26.0.12",
"@types/node": "~14.14.6",
"@types/react": "~17.0.0",
"@typescript-eslint/eslint-plugin": "~5.31.0",
"@typescript-eslint/parser": "~5.31.0",
"eslint": "~8.20.0",
"eslint-config-prettier": "~8.5.0",
"eslint-plugin-import": "~2.26.0",
"eslint-plugin-react": "~7.30.1",
"eslint-plugin-react-hooks": "~4.6.0",
"husky": "~4.3.0",
"jest": "~26.6.1",
"jest-fetch-mock": "~3.0.3",
"lint-staged": "~10.5.0",
"prettier": "~2.2.1",
"rollup": "~2.77.2",
"rollup-plugin-terser": "~7.0.2",
"rollup-plugin-typescript2": "~0.32.1",
"ts-jest": "~26.4.0",
"typescript": "~4.1.3"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run test",
"npm run lint:fix",
"npm run format"
]
}
}