-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.44 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": "@bscop/use-forward-ref",
"version": "1.0.2",
"description": "React hook that permits to use the forwarded ref, or a fallback when it's not provided.",
"main": "package/dist/index.js",
"module": "package/dist/index.es.js",
"types": "package/src/index.d.ts",
"scripts": {
"badge:coverage": "npm run test:coverage && codecov",
"prebuild": "rm -rf ./package/dist",
"build": "rollup -c rollup.config.js",
"lint": "eslint 'package/**'",
"prepare": "husky install",
"prepublishOnly": "npm run build",
"release": "standard-version",
"test": "npm run lint && npm run test:types && npm run test:unit",
"test:debug": "node --inspect $(npm bin)/jest --watch --no-cache --runInBand",
"test:types": "tsc --noEmit -p package/src",
"test:unit": "jest --runInBand --coverage"
},
"repository": {
"type": "git",
"url": "git+https://github.com/brunoscopelliti/use-forward-ref.git"
},
"directories": {
"src": "package/src"
},
"files": [
"package/dist",
"package/src/index.d.ts",
"CHANGELOG.md",
"LICENSE",
"README.md"
],
"keywords": [
"react",
"react hook",
"react forwardRef",
"conditional ref",
"react hook ref",
"react useRef",
"useForwardRef"
],
"author": "Bruno Scopelliti",
"license": "MIT",
"bugs": {
"url": "https://github.com/brunoscopelliti/use-forward-ref/issues"
},
"homepage": "https://github.com/brunoscopelliti/use-forward-ref#readme",
"devDependencies": {
"@babel/preset-env": "^7.14.4",
"@babel/preset-react": "^7.13.13",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^19.0.0",
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^7.0.0",
"@types/jest": "^26.0.23",
"@types/react": "^17.0.8",
"babel-jest": "^27.0.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"codecov": "^3.8.2",
"eslint": "^7.27.0",
"eslint-config-bruno": "^3.0.0",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-react": "^7.24.0",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^4.6.0",
"husky": "^6.0.0",
"jest": "^27.0.3",
"prop-types": "^15.7.2",
"rollup": "^2.50.5",
"standard-version": "^9.3.0",
"typescript": "^4.3.2"
},
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
}
}