-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
115 lines (115 loc) · 3.08 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
{
"name": "@openmsupply/msupply-ble-service",
"version": "0.5.4",
"description": "Low level bluetooth library",
"author": "Chester Wood <[email protected]> (https://github.com/chetstone)",
"license": "GPL-3.0-or-later",
"main": "lib/commonjs/index",
"module": "lib/module/index",
"types": "lib/typescript/index.d.ts",
"react-native": "src/index",
"source": "src/index",
"files": [
"src",
"lib",
"!**/.log",
"!lib/typescript/example",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"clean": "react-native-clean-project",
"clean:quick": "react-native-clean-project --keep-node_modules --clean-android-project --keep-brew --keep-pods",
"clean:deep": "react-native-clean-project --clean-android-project --remove-android-build",
"clean:dev": "npm run clean:quick && npm run start",
"test": "jest",
"typescript": "tsc --noEmit",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"prepare": "bob build",
"example": "yarn --cwd example",
"pods": "cd example && pod-install --quiet",
"bootstrap": "yarn example && yarn",
"postversion": "npx yalc publish --private --scripts"
},
"keywords": [
"react-native",
"ios",
"android"
],
"repository": "https://github.com/openmsupply/msupply-ble-service",
"bugs": {
"url": "https://github.com/openmsupply/msupply-ble-service/issues"
},
"homepage": "https://github.com/openmsupply/msupply-ble-service#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"devDependencies": {
"@react-native-community/eslint-config": "^3.0.0",
"@types/jest": "^26.0.0",
"@types/lodash": "^4.14.168",
"@types/node": "^14.11.2",
"@types/react": "^16.9.19",
"@types/react-native": "0.62.13",
"@types/react-native-dotenv": "^0.2.0",
"@types/react-native-uuid": "^1.4.0",
"eslint": "^7.2.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^4.2.5",
"jest": "^26.0.1",
"moment": "2.27.0",
"pod-install": "^0.1.0",
"prettier": "^2.1.2",
"react": "17.0.1",
"react-native": "0.64.0",
"react-native-ble-plx": "^2.0.2",
"react-native-builder-bob": "^0.18.0",
"react-native-uuid": "^2.0.1",
"typescript": "^4.1.3",
"yalc": "^1.0.0-pre.53"
},
"peerDependencies": {
"react": "*",
"react-native": "*",
"react-native-ble-plx": "^2.0.2"
},
"jest": {
"preset": "react-native",
"modulePathIgnorePatterns": [
"<rootDir>/example/node_modules",
"<rootDir>/lib/"
]
},
"husky": {
"hooks": {
"pre-commit": "yarn lint && yarn typescript"
}
},
"prettier": {
"bracketSpacing": true,
"printWidth": 100,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "es5",
"arrowParens": "avoid"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
},
"dependencies": {
"buffer": "^6.0.3"
}
}