forked from YsnKsy/react-native-location-enabler
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpackage.json
More file actions
181 lines (181 loc) · 4.97 KB
/
package.json
File metadata and controls
181 lines (181 loc) · 4.97 KB
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
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "react-native-location-enabler",
"version": "4.1.0",
"description": "This package makes it easy for an React Native App to ensure that the android device's system settings are properly configured for the app's location needs. If your app needs to request location, the device needs to enable the appropriate system settings, such as GPS or Wi-Fi scanning. Rather than directly enabling services such as the device's GPS, your app specifies the required level of accuracy/power consumption and desired update interval, and the device automatically makes the appropriate changes to system settings.",
"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",
"ios",
"cpp",
"!lib/typescript/example",
"!android/build",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn",
"format": "npm-run-all format:*",
"format:js": "prettier --write \"./**/*.js\"",
"format:json": "prettier --write \"./**/*.json\"",
"format:md": "prettier --write \"./**/*.md\"",
"format:ts": "prettier --write \"./**/*.ts{,x}\"",
"prepare": "bob build",
"release": "semantic-release",
"commit": "git-cz"
},
"keywords": [
"react-native",
"android",
"location",
"settings",
"GPS",
"Wi-Fi",
"settings-enabler",
"SettingsClient",
"resolution"
],
"repository": "https://github.com/YsnKsy/react-native-location-enabler",
"author": "Yassine Kassy <y.kassy@me.com> (https://github.com/YsnKsy)",
"license": "MIT",
"bugs": {
"url": "https://github.com/YsnKsy/react-native-location-enabler/issues"
},
"homepage": "https://github.com/YsnKsy/react-native-location-enabler#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@commitlint/config-conventional": "^12.1.1",
"@react-native-community/eslint-config": "^2.0.0",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.1",
"@semantic-release/github": "^7.2.3",
"@semantic-release/npm": "^7.1.3",
"@semantic-release/release-notes-generator": "^9.0.3",
"@types/jest": "^26.0.0",
"@types/react": "^17.0.14",
"@types/react-native": "0.62.13",
"commitizen": "^4.2.3",
"commitlint": "^12.1.1",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.1.3",
"husky": "^6.0.0",
"jest": "^27.0.6",
"npm-run-all": "^4.1.5",
"pod-install": "^0.1.27",
"prettier": "^2.0.5",
"react": "17.0.2",
"react-native": "0.63.4",
"react-native-builder-bob": "^0.18.0",
"release-it": "^14.10.0",
"semantic-release": "^17.4.2",
"typescript": "^4.3.5"
},
"peerDependencies": {
"react": "*",
"react-native": "*"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn format && yarn lint && yarn typescript && yarn prepare"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"eslintConfig": {
"root": true,
"extends": [
"@react-native-community",
"prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"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"
}
]
]
},
"release": {
"branch": "master",
"npmPublish": true,
"ci": true,
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"android/app/build.gradle",
"package.json"
],
"message": "chore(release): ${nextRelease.version} \n\n${nextRelease.notes}"
}
],
"@semantic-release/github"
]
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}