-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
69 lines (69 loc) · 1.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
{
"name": "react-delegate-component",
"version": "1.0.0",
"description": "A component that makes renderProps great, allowing callers to use functional and class components with a default.",
"main": "index.js",
"repository": "https://github.com/pk-nb/react-delegate-component",
"author": "Nathanael Beisiegel",
"license": "MIT",
"private": false,
"keywords": [
"render-props",
"renderProps",
"react",
"delegation",
"delegate",
"component"
],
"bugs": {
"url": "https://github.com/pk-nb/react-delegate-component/issues"
},
"files": [
"index.js",
"yarn.lock"
],
"dependencies": {
"prop-types": "^15.6.0"
},
"peerDependencies": {
"react": ">=15"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"husky": "^0.14.3",
"jest": "^22.4.2",
"lint-staged": "^7.0.0",
"prettier": "1.10.2",
"react": "^16.2.0",
"react-dom": "^16.2.0"
},
"scripts": {
"build": "babel modules/delegate.js --out-file index.js",
"test": "jest",
"clean": "rm -f index.js",
"precommit": "lint-staged"
},
"babel": {
"presets": [
"env",
"react"
],
"plugins": [
"transform-class-properties"
]
},
"prettier": {
"printWidth": 100
},
"lint-staged": {
"*.js": [
"prettier --write",
"git add"
]
}
}