-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·83 lines (83 loc) · 2.39 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
{
"name": "use-recapture",
"description": "Like useCallback, but supports imperative recapturing and always returns stable reference",
"version": "1.0.4",
"type": "module",
"exports": {
"types": "./types/index.d.ts",
"import": "./lib/es/index.mjs",
"require": "./lib/index.cjs"
},
"module": "./lib/es/index.mjs",
"main": "./lib/index.cjs",
"types": "./types/index.d.ts",
"files": [
"lib",
"types"
],
"sideEffects": false,
"pm": "[email protected]",
"engines": {
"node": ">=16"
},
"author": "Billy Kwok <[email protected]>",
"license": "MIT",
"keywords": [
"useRef",
"useCallback",
"ref",
"react",
"react-dom"
],
"scripts": {
"lint": "eslint ./*.ts",
"clean": "rm -rf lib types",
"build": "pnpm clean && rollup -c rollup.config.js && tsc --project tsconfig.types.json",
"test": "jest",
"prepare": "husky install"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/core": "^7.22.10",
"@babel/eslint-parser": "^7.22.10",
"@babel/plugin-transform-runtime": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@babel/preset-react": "^7.22.5",
"@babel/preset-typescript": "^7.22.5",
"@changesets/cli": "^2.26.2",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"@jest/globals": "^29.6.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-replace": "^5.0.2",
"@rollup/plugin-terser": "^0.4.3",
"@testing-library/react": "^14.0.0",
"@types/babel__core": "^7.20.1",
"@types/jest": "^29.5.3",
"@types/react": "^18.2.20",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"eslint": "^8.47.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-testing-library": "^6.0.0",
"husky": "^8.0.3",
"jest": "^29.6.2",
"jest-environment-jsdom": "^29.6.2",
"node-notifier": "^10.0.1",
"prettier": "^3.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rollup": "^3.28.0",
"rollup-plugin-node-externals": "^6.1.1",
"typescript": "^5.1.6"
}
}