-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
129 lines (129 loc) · 3.51 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@better-hooks/lifecycle",
"version": "1.0.5",
"author": "prc5",
"license": "MIT",
"description": "React lifecycle turned into dev friendly hooks",
"repository": "BetterTyped/react-lifecycle-hooks",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"source": "src/index.ts",
"jsnext:main": "dist/index.esm.js",
"engines": {
"node": ">=8",
"npm": ">=5"
},
"private": false,
"peerDependencies": {
"react": ">= 16.8.0"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.com/"
},
"scripts": {
"build": "rollup -c",
"prepare": "install-peers && yarn husky install",
"lint": "eslint . --ext .js,.jsx,.tsx,.ts --fix",
"test": "jest",
"release": "yarn semantic-release"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.2",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^14.1.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^8.0.6",
"@semantic-release/npm": "^9.0.1",
"@semantic-release/release-notes-generator": "^10.0.3",
"@svgr/rollup": "^6.3.1",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.1.1",
"@types/node": "^18.7.23",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"@zerollup/ts-transform-paths": "^1.7.18",
"commitlint": "^17.0.2",
"eslint": "^8.17.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-next": "12.1.6",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^4.0.0",
"husky": "^8.0.1",
"install-peers-cli": "^2.2.0",
"jest": "^28.1.1",
"jest-environment-jsdom": "^28.1.1",
"jest-extended": "^2.0.0",
"jest-watch-typeahead": "^1.1.0",
"postcss": "^8.4.17",
"prettier": "^2.6.2",
"reflect-metadata": "^0.1.13",
"rollup": "^2.79.1",
"rollup-plugin-copy": "^3.4.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-dts": "^4.2.2",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.0",
"rollup-plugin-url": "^3.0.1",
"semantic-release": "^19.0.5",
"ts-jest": "^28.0.5",
"ts-node": "~10.8.0",
"tslib": "^2.3.0",
"typescript": "^4.8.4"
},
"files": [
"dist"
],
"keywords": [
"react",
"hooks",
"lifecycle",
"use",
"did",
"mount",
"update",
"unmount",
"render",
"hook",
"useDidMount",
"useDidUnmount",
"useDidRender",
"useWillUnmount"
]
}