forked from rnc-archive/react-native-drawer-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
107 lines (107 loc) · 2.59 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
{
"name": "react-native-drawer-layout",
"version": "2.0.0",
"description": "A platform-agnostic drawer layout. Pure JavaScript implementation on iOS and native implementation on Android. Why? Because the drawer layout is a useful component regardless of the platform! And if you can use it without changing any code, that's perfect.",
"main": "dist/DrawerLayout.js",
"scripts": {
"babel": "babel src --out-dir dist",
"build": "npm run-script clear && npm run-script babel",
"clear": "rm -rf dist/ && mkdir dist/",
"lint:staged": "lint-staged",
"prepublish": "npm run build",
"test": "flow --show-all-errors",
"format": "prettier --write --single-quote --trailing-comma all --tab-width 4 src/**/*.js"
},
"lint-staged": {
"*.js": [
"prettier --write --single-quote --trailing-comma all --tabWidth 4",
"git add"
]
},
"pre-commit": [
"lint:staged",
"test"
],
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "[email protected]:react-native-community/react-native-drawer-layout.git"
},
"author": "Brent Vatne <[email protected]> (https://github.com/brentvatne)",
"contributors": [
{
"name": "Marc Mendiola",
"email": "[email protected]"
},
{
"name": "Daniel Schmidt",
"email": "[email protected]",
"url": "http://danielmschmidt.de"
}
],
"xo": {
"ignores": [
"DrawerLayoutExample/**",
"dist/*"
],
"esnext": true,
"plugins": [
"react"
],
"rules": {
"indent": 0,
"babel/object-curly-spacing": [
2,
"always"
],
"comma-dangle": [
2,
"always-multiline"
],
"react/jsx-curly-spacing": 2,
"strict": [
2,
"never"
],
"no-use-before-define": 0,
"one-var": [
2,
{
"uninitialized": "always",
"initialized": "never"
}
],
"react/no-set-state": 1,
"react/prop-types": 2,
"react/jsx-sort-prop-types": 2,
"react/self-closing-comp": 2
}
},
"keywords": [
"react",
"react-native",
"ios",
"android",
"drawer",
"layout",
"menu"
],
"license": "MIT",
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"devDependencies": {
"babel-cli": "^6.0.0",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-preset-react-native": "^1.8.0",
"flow-bin": "^0.42.0",
"lint-staged": "^3.3.1",
"pre-commit": "^1.2.2",
"prettier": "^0.19.0",
"react": "16.0.0-alpha.12",
"react-native": "0.48.1"
}
}