react-native-google-places-autocomplete 2.6.3 → 2.6.4

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.
Files changed (2) hide show
  1. package/.husky/pre-commit +4 -0
  2. package/package.json +12 -10
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env sh
2
+ . "$(dirname -- "$0")/_/husky.sh"
3
+
4
+ yarn lint-staged
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "react-native-google-places-autocomplete",
3
- "version": "2.6.3",
3
+ "version": "2.6.4",
4
4
  "description": "Customizable Google Places autocomplete component for iOS and Android React-Native apps",
5
5
  "main": "GooglePlacesAutocomplete.js",
6
6
  "types": "GooglePlacesAutocomplete.d.ts",
7
7
  "scripts": {
8
8
  "lint": "eslint . && prettier --write .",
9
9
  "release": "npx release-it",
10
- "prettier": "prettier --write ."
10
+ "prettier": "prettier --write .",
11
+ "prepare": "husky install"
11
12
  },
12
13
  "author": "Farid from Safi",
13
14
  "license": "MIT",
@@ -30,14 +31,14 @@
30
31
  "homepage": "https://github.com/FaridSafi/react-native-google-places-autocomplete#readme",
31
32
  "dependencies": {
32
33
  "lodash.debounce": "^4.0.8",
33
- "qs": "~6.9.1",
34
+ "qs": "^6.14.1",
34
35
  "react-native-uuid": "^2.0.3"
35
36
  },
36
37
  "devDependencies": {
37
38
  "@react-native-community/eslint-config": "2.0.0",
38
39
  "eslint": "7.10.0",
39
40
  "eslint-plugin-prettier": "^3.1.2",
40
- "husky": "4.3.0",
41
+ "husky": "^8.0.3",
41
42
  "lint-staged": "10.4.0",
42
43
  "prettier": "2.1.2",
43
44
  "typescript": "^3.8.3"
@@ -45,12 +46,13 @@
45
46
  "peerDependencies": {
46
47
  "react-native": ">= 0.59"
47
48
  },
48
- "husky": {
49
- "hooks": {
50
- "pre-commit": "lint-staged"
51
- }
52
- },
53
49
  "lint-staged": {
54
- "*/**": "yarn lint"
50
+ "*.{js,jsx,ts,tsx}": [
51
+ "eslint --fix",
52
+ "prettier --write"
53
+ ],
54
+ "*.{json,md,yml,yaml}": [
55
+ "prettier --write"
56
+ ]
55
57
  }
56
58
  }