Skip to content

Commit 39d0368

Browse files
author
Marco Cesarato
committed
chore(Example): implement and run prettier
1 parent f993128 commit 39d0368

File tree

3 files changed

+26
-31
lines changed

3 files changed

+26
-31
lines changed

Example/app.json

Lines changed: 23 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
11
{
2-
"expo": {
3-
"name": "Example react-native-input-spinner",
4-
"slug": "Example",
5-
"privacy": "public",
6-
"platforms": [
7-
"ios",
8-
"android",
9-
"web"
10-
],
11-
"version": "1.0.0",
12-
"orientation": "portrait",
13-
"icon": "./assets/icon.png",
14-
"splash": {
15-
"image": "./assets/splash.png",
16-
"resizeMode": "contain",
17-
"backgroundColor": "#ffffff"
18-
},
19-
"updates": {
20-
"fallbackToCacheTimeout": 0
21-
},
22-
"assetBundlePatterns": [
23-
"**/*"
24-
],
25-
"ios": {
26-
"supportsTablet": true
27-
},
28-
"description": "",
29-
"githubUrl": "https://github.com/marcocesarato/react-native-input-spinner/Example"
30-
}
2+
"expo": {
3+
"name": "Example react-native-input-spinner",
4+
"slug": "Example",
5+
"privacy": "public",
6+
"platforms": ["ios", "android", "web"],
7+
"version": "1.0.0",
8+
"orientation": "portrait",
9+
"icon": "./assets/icon.png",
10+
"splash": {
11+
"image": "./assets/splash.png",
12+
"resizeMode": "contain",
13+
"backgroundColor": "#ffffff"
14+
},
15+
"updates": {
16+
"fallbackToCacheTimeout": 0
17+
},
18+
"assetBundlePatterns": ["**/*"],
19+
"ios": {
20+
"supportsTablet": true
21+
},
22+
"description": "",
23+
"githubUrl": "https://github.com/marcocesarato/react-native-input-spinner/Example"
24+
}
3125
}

Example/babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = function(api) {
1+
module.exports = function (api) {
22
api.cache(true);
33
return {
44
presets: ["babel-preset-expo"],

Example/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"android": "expo start --android",
66
"ios": "expo start --ios",
77
"web": "expo start --web",
8-
"eject": "expo eject"
8+
"eject": "expo eject",
9+
"prettify": "prettier --write './src/*.{ts,json,md,yml,js}' && prettier --write './*.{ts,json,md,yml,js}'"
910
},
1011
"dependencies": {
1112
"expo": "^40.0.1",

0 commit comments

Comments
 (0)