forked from zykeco/react-native-ble-nitro
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
123 lines (123 loc) · 3.41 KB
/
package.json
File metadata and controls
123 lines (123 loc) · 3.41 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
{
"name": "react-native-ble-nitro",
"version": "1.9.2",
"description": "High-performance React Native BLE library built on Nitro Modules",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"react-native": "src/index.ts",
"source": "src/index.ts",
"exports": {
".": {
"react-native": "./src/index.ts",
"typescript": "./src/index.ts",
"import": "./lib/index.js",
"require": "./lib/commonjs/index.js",
"types": "./lib/index.d.ts",
"default": "./src/index.ts"
},
"./manager": {
"react-native": "./src/manager.ts",
"typescript": "./src/manager.ts",
"import": "./lib/manager.js",
"require": "./lib/commonjs/manager.js",
"types": "./lib/manager.d.ts",
"default": "./src/manager.ts"
},
"./singleton": {
"react-native": "./src/singleton.ts",
"typescript": "./src/singleton.ts",
"import": "./lib/singleton.js",
"require": "./lib/commonjs/singleton.js",
"types": "./lib/singleton.d.ts",
"default": "./src/singleton.ts"
},
"./plugin": {
"import": "./plugin/build/index.js",
"require": "./plugin/build/index.js",
"types": "./plugin/build/index.d.ts",
"default": "./plugin/build/index.js"
},
"./app.plugin.js": "./app.plugin.cjs",
"./package.json": "./package.json"
},
"scripts": {
"build": "npm run clean && npm run nitro-codegen && npm run build:plugin && npm run build:esm && npm run build:commonjs",
"build:esm": "tsc",
"build:commonjs": "tsc --project tsconfig.commonjs.json",
"build:plugin": "tsc --project plugin/tsconfig.json",
"prepublishOnly": "npm run build && npm run test",
"nitro-codegen": "nitrogen src",
"clean": "rimraf lib && rimraf plugin/build && rimraf nitrogen/generated",
"test": "jest",
"lint": "eslint src/ --ext .ts,.tsx",
"typecheck": "tsc --noEmit",
"prepack": "npm run build",
"version": "npm run build",
"postversion": "git push && git push --tags"
},
"keywords": [
"react-native",
"bluetooth",
"ble",
"bluetooth-low-energy",
"nitro-modules",
"expo",
"ios",
"android",
"performance"
],
"author": "Zyke (https://zyke.co)",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/zykeco/react-native-ble-nitro.git"
},
"homepage": "https://github.com/zykeco/react-native-ble-nitro#readme",
"bugs": {
"url": "https://github.com/zykeco/react-native-ble-nitro/issues"
},
"engines": {
"node": ">=16.0.0"
},
"peerDependencies": {
"react-native": ">=0.76.0",
"react-native-nitro-modules": "*"
},
"devDependencies": {
"@expo/config-plugins": "^54.0.2",
"@types/jest": "^29.5.0",
"@types/node": "^20.19.21",
"@types/react": "^19.2.2",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.0.0",
"expo-module-scripts": "^5.0.7",
"jest": "^29.0.0",
"nitrogen": "^0.30.0",
"react-native": "^0.81.4",
"react-native-nitro-modules": "^0.30.0",
"rimraf": "^6.0.1",
"ts-jest": "^29.4.5",
"typescript": "^5.9.3"
},
"files": [
"lib/",
"src/",
"ios/",
"android/",
"nitrogen/generated/",
"plugin/build",
"app.plugin.cjs",
"nitro.json",
"react-native.config.js",
"README.md",
"LICENSE",
"BleNitro.podspec"
],
"expo": {
"platforms": [
"ios",
"android"
]
}
}