-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
99 lines (99 loc) · 2.73 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": "use-is-mounted-ref",
"description": "📦 useIsMountedRef is a React Hook to check when the component is mounted.",
"author": "Helder B. Berto <helder.burato@gmail.com> (https://helderberto.com/)",
"license": "MIT",
"version": "1.5.0",
"main": "dist/use-is-mounted-ref.cjs.js",
"module": "dist/use-is-mounted-ref.es.js",
"jsnext:main": "dist/use-is-mounted-ref.es.js",
"types": "dist/index.d.ts",
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"lint": "eslint --max-warnings=0",
"lint:fix": "npm run lint --fix",
"format": "prettier --write 'src/**/*.{js,ts,tsx}'",
"build": "rm -fr ./dist && rollup -c",
"test": "jest",
"test:tsc": "tsc",
"test:tsc:watch": "tsc --watch",
"commit": "git-cz",
"prepublishOnly": "npm run build"
},
"keywords": [
"react",
"hook",
"mounted",
"unmounted",
"ref"
],
"repository": {
"type": "git",
"url": "git+https://github.com/helderberto/use-is-mounted-ref.git"
},
"bugs": {
"url": "https://github.com/helderberto/use-is-mounted-ref/issues"
},
"homepage": "https://github.com/helderberto/use-is-mounted-ref#readme",
"peerDependencies": {
"react": ">=16.0.0"
},
"devDependencies": {
"@babel/core": "7.24.6",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.20.2",
"@babel/preset-react": "7.23.3",
"@babel/register": "7.18.9",
"@babel/runtime": "7.20.13",
"@commitlint/cli": "17.4.2",
"@commitlint/config-conventional": "17.4.0",
"@testing-library/react-hooks": "8.0.1",
"@types/jest": "27.4.1",
"@types/react": "18.3.10",
"babel-eslint": "10.1.0",
"babel-jest": "29.7.0",
"babel-loader": "9.1.2",
"babel-preset-minify": "0.5.2",
"commitizen": "4.3.1",
"eslint": "8.56.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-prettier": "8.6.0",
"eslint-plugin-import": "2.27.5",
"eslint-plugin-jest": "28.5.0",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.37.1",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "^8.0.1",
"jest": "27.5.1",
"lint-staged": ">=12.1.2",
"prettier": "3.1.0",
"react": "18.3.1",
"react-dom": "18.2.0",
"react-test-renderer": "18.2.0",
"rollup": "2.79.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.34.1",
"rollup-plugin-uglify": "6.0.4",
"ts-jest": "27.1.4",
"typescript": "4.9.5"
},
"lint-staged": {
"src/**/*.{ts,tsx,json,js}": [
"prettier --write ."
],
"src/**/*.{ts,js}": [
"eslint --fix",
"jest --bail --findRelatedTests"
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}