|
@@ -15,9 +15,10 @@
|
15
|
15
|
"license": "MIT",
|
16
|
16
|
"scripts": {
|
17
|
17
|
"start": "react-native start",
|
18
|
|
- "test": "yarn validate:eslint && yarn validate:typescript",
|
|
18
|
+ "test": "yarn validate:prettier && yarn validate:eslint && yarn validate:typescript",
|
19
|
19
|
"validate:eslint": "eslint \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\"",
|
20
|
|
- "validate:typescript": "tsc --project ./ --noEmit"
|
|
20
|
+ "validate:typescript": "tsc --project ./ --noEmit",
|
|
21
|
+ "validate:prettier": "prettier \"src/**/*.{js,ts,tsx}\" \"example/**/*.{js,ts,tsx}\" --check"
|
21
|
22
|
},
|
22
|
23
|
"keywords": [
|
23
|
24
|
"react-native",
|