-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
140 lines (140 loc) · 3.27 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "react-native-system-bars",
"version": "0.4.0",
"description": "Control the visibility of Android's Status and Navigation Bars",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"android"
],
"scripts": {
"bootstrap": "yarn example && yarn",
"clean": "rimraf ./lib ./node_modules ./example/node_modules ./**/.gradle ./**/build ./**/.idea",
"compile": "yarn typescript",
"example": "yarn --cwd example",
"lc": "yarn lint-fix && yarn compile",
"lint": "eslint \"**/*.{js,ts,tsx}\" --max-warnings=0",
"lint-fix": "yarn lint --fix",
"prepare": "bob build",
"release": "release-it",
"typescript": "tsc --noEmit"
},
"keywords": [
"react-native",
"android",
"status bar",
"navigation bar",
"system UI visibility"
],
"repository": "https://github.com/hudl/react-native-system-bars",
"author": "hudl",
"license": "MIT",
"bugs": {
"url": "https://github.com/hudl/react-native-system-bars/issues"
},
"homepage": "https://github.com/hudl/react-native-system-bars#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/",
"access": "public"
},
"devDependencies": {
"@commitlint/config-conventional": "^11.0.0",
"@react-native-community/eslint-config": "^3.1.0",
"@release-it/conventional-changelog": "^5.0.0",
"@types/react": "^18.0.15",
"@types/react-native": "0.69.5",
"commitlint": "^11.0.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^4.2.5",
"prettier": "^2.0.5",
"react": "18.1.0",
"react-native": "0.70.0-rc.2",
"react-native-builder-bob": "^0.18.3",
"release-it": "^15.2.0",
"rimraf": "^3.0.2",
"typescript": "^4.7.4"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn lint && yarn typescript"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"release-it": {
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "angular"
}
}
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"prettier/prettier": [
"warn",
{
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
}
]
}
},
"eslintIgnore": [
"node_modules/",
"lib/"
],
"prettier": {
"quoteProps": "consistent",
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
}
}