-
-
Notifications
You must be signed in to change notification settings - Fork 840
/
package.json
88 lines (88 loc) · 2.3 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
{
"name": "react-native-permissions",
"version": "5.2.1",
"license": "MIT",
"description": "An unified permissions API for React Native on iOS, Android and Windows",
"author": "Mathieu Acthernoene <zoontek@gmail.com>",
"homepage": "https://github.com/zoontek/react-native-permissions#readme",
"repository": {
"type": "git",
"url": "https://github.com/zoontek/react-native-permissions.git"
},
"keywords": [
"react-native",
"react native",
"react-native-windows",
"permission",
"authorization"
],
"types": "dist/typescript/index.d.ts",
"main": "dist/commonjs/index.js",
"module": "dist/module/index.js",
"react-native": "src/index.ts",
"files": [
"/android",
"!/android/build",
"/dist",
"/ios",
"/scripts",
"/windows",
"/src",
"/*.podspec",
"app.plugin.js",
"mock.js",
"react-native.config.js"
],
"scripts": {
"clean": "rm -rf dist",
"format": "prettier '**/*' -u -w",
"lint": "eslint './**/*.{js,ts,tsx}'",
"typecheck": "tsc --noEmit",
"build": "yarn clean && bob build && rm -rf dist/*/package.json",
"prepack": "prettier '**/*' -u -c && yarn lint && yarn typecheck && yarn build"
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"codegenConfig": {
"name": "RNPermissionsSpec",
"type": "modules",
"jsSrcsDir": "./src",
"android": {
"javaPackageName": "com.zoontek.rnpermissions"
}
},
"peerDependencies": {
"react": ">=18.1.0",
"react-native": ">=0.70.0",
"react-native-windows": ">=0.70.0"
},
"peerDependenciesMeta": {
"react-native-windows": {
"optional": true
}
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@expo/config-plugins": "^7.0.0 || ^8.0.0 || ^9.0.0",
"@types/react": "^18.2.6",
"@typescript-eslint/eslint-plugin": "^8.12.2",
"@typescript-eslint/parser": "^8.12.2",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^4.6.2",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"react": "18.3.1",
"react-native": "0.76.2",
"react-native-builder-bob": "^0.31.0",
"typescript": "^5.6.3"
}
}