-
-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
100 lines (100 loc) · 1.93 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
{
"name": "react-extras",
"version": "3.0.1",
"description": "Useful components and utilities for working with React",
"license": "MIT",
"repository": "sindresorhus/react-extras",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "[email protected]",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": {
"types": "./index.d.ts",
"default": "./dist/index.js"
},
"types": "./index.d.ts",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"scripts": {
"build": "babel 'source/*.js' --out-dir=dist",
"test": "xo && tsd",
"prepare": "npm run build"
},
"files": [
"dist",
"index.d.ts"
],
"keywords": [
"react",
"extras",
"component",
"components",
"util",
"utils",
"utilities",
"helper",
"helpers",
"auto-bind",
"autobind",
"bind",
"class",
"css",
"classname",
"classnames",
"classes"
],
"dependencies": {
"@sindresorhus/class-names": "^2.0.0",
"auto-bind": "^5.0.1",
"prop-types": "^15.8.1"
},
"devDependencies": {
"@ava/babel": "^2.0.0",
"@babel/cli": "^7.17.0",
"@babel/core": "^7.17.2",
"@babel/preset-react": "^7.16.7",
"@babel/register": "^7.17.0",
"@types/react": "^17.0.39",
"ava": "^3.15.0",
"browser-env": "^3.3.0",
"esm": "^3.2.25",
"jest-prop-type-error": "^1.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-test-renderer": "^17.0.2",
"tsd": "^0.19.1",
"xo": "^0.48.0"
},
"peerDependencies": {
"react": ">=17"
},
"xo": {
"envs": [
"node",
"browser"
],
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-unsafe-call": "off",
"node/file-extension-in-import": "off"
}
},
"ava": {
"babel": true,
"require": [
"@babel/register",
"jest-prop-type-error"
]
},
"babel": {
"presets": [
"@babel/preset-react"
]
}
}