@kingstinct/react-native-healthkit 4.3.0 → 4.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kingstinct/react-native-healthkit",
3
- "version": "4.3.0",
3
+ "version": "4.4.0",
4
4
  "description": "React Native bindings for HealthKit",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -21,7 +21,7 @@
21
21
  ],
22
22
  "scripts": {
23
23
  "test": "jest",
24
- "typescript": "tsc --noEmit",
24
+ "typecheck": "tsc --noEmit",
25
25
  "lint": "eslint \"**/*.{js,ts,tsx}\"",
26
26
  "prepare": "bob build",
27
27
  "release": "release-it",
@@ -45,25 +45,35 @@
45
45
  "homepage": "https://github.com/kingstinct/react-native-healthkit#readme",
46
46
  "devDependencies": {
47
47
  "@commitlint/config-conventional": "12",
48
- "@react-native-community/eslint-config": "^2.0.0",
48
+ "@graphql-eslint/eslint-plugin": ">=3",
49
49
  "@release-it/conventional-changelog": "2",
50
- "@types/jest": "27",
50
+ "@types/jest": ">=26",
51
51
  "@types/react": "17",
52
52
  "@types/react-native": "0.67",
53
+ "@typescript-eslint/eslint-plugin": ">=5",
54
+ "@typescript-eslint/parser": ">=5",
53
55
  "commitlint": "12",
54
- "eslint": "^7.2.0",
55
- "eslint-config-prettier": "8",
56
- "eslint-plugin-prettier": "^3.1.3",
56
+ "eslint": ">=8",
57
+ "eslint-config-airbnb-base": ">=15",
58
+ "eslint-config-kingstinct": "5.1.1",
59
+ "eslint-import-resolver-typescript": ">=3",
60
+ "eslint-plugin-comment-length": ">=0",
61
+ "eslint-plugin-functional": ">=4",
62
+ "eslint-plugin-import": ">=2",
63
+ "eslint-plugin-jest": ">=26",
64
+ "eslint-plugin-jsonc": ">=2",
65
+ "eslint-plugin-unicorn": ">=43",
66
+ "eslint-plugin-yml": ">=1",
67
+ "graphql": ">=16",
57
68
  "husky": "^4.2.5",
58
- "jest": "28",
69
+ "jest": ">=26",
59
70
  "metro-react-native-babel-preset": "^0.70.3",
60
71
  "pod-install": "^0.1.0",
61
- "prettier": "^2.0.5",
62
72
  "react": "17",
63
73
  "react-native": "0.68",
64
74
  "react-native-builder-bob": "^0.18.1",
65
75
  "release-it": "14",
66
- "typescript": "4"
76
+ "typescript": ">=4"
67
77
  },
68
78
  "peerDependencies": {
69
79
  "react": "*",
@@ -108,35 +118,10 @@
108
118
  }
109
119
  }
110
120
  },
111
- "eslintConfig": {
112
- "extends": [
113
- "@react-native-community",
114
- "prettier"
115
- ],
116
- "rules": {
117
- "prettier/prettier": [
118
- "error",
119
- {
120
- "quoteProps": "consistent",
121
- "singleQuote": true,
122
- "tabWidth": 2,
123
- "trailingComma": "es5",
124
- "useTabs": false
125
- }
126
- ]
127
- }
128
- },
129
121
  "eslintIgnore": [
130
122
  "node_modules/",
131
123
  "lib/"
132
124
  ],
133
- "prettier": {
134
- "quoteProps": "consistent",
135
- "singleQuote": true,
136
- "tabWidth": 2,
137
- "trailingComma": "es5",
138
- "useTabs": false
139
- },
140
125
  "react-native-builder-bob": {
141
126
  "source": "src",
142
127
  "output": "lib",