Skip to content

Commit e2073e2

Browse files
chore: experiments app (#1391)
1 parent 78194d1 commit e2073e2

20 files changed

+7316
-3
lines changed

experiments-app/.gitignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
node_modules/
2+
.expo/
3+
dist/
4+
npm-debug.*
5+
*.jks
6+
*.p8
7+
*.p12
8+
*.key
9+
*.mobileprovision
10+
*.orig.*
11+
web-build/
12+
13+
# macOS
14+
.DS_Store
15+
16+
# Temporary files created by Metro to check the health of the file watcher
17+
.metro-health-check*

experiments-app/.prettierrc.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// added for Jest inline snapshots to not use default Prettier config
2+
module.exports = {
3+
singleQuote: true,
4+
trailingComma: "es5"
5+
}

experiments-app/app.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"expo": {
3+
"name": "experiments-app",
4+
"slug": "experiments-app",
5+
"version": "1.0.0",
6+
"orientation": "portrait",
7+
"icon": "./assets/icon.png",
8+
"userInterfaceStyle": "light",
9+
"splash": {
10+
"image": "./assets/splash.png",
11+
"resizeMode": "contain",
12+
"backgroundColor": "#ffffff"
13+
},
14+
"assetBundlePatterns": [
15+
"**/*"
16+
],
17+
"ios": {
18+
"supportsTablet": true
19+
},
20+
"android": {
21+
"adaptiveIcon": {
22+
"foregroundImage": "./assets/adaptive-icon.png",
23+
"backgroundColor": "#ffffff"
24+
}
25+
},
26+
"web": {
27+
"favicon": "./assets/favicon.png"
28+
}
29+
}
30+
}
17.1 KB
Loading

experiments-app/assets/favicon.png

1.43 KB
Loading

experiments-app/assets/icon.png

21.9 KB
Loading

experiments-app/assets/splash.png

46.2 KB
Loading

experiments-app/babel.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = function(api) {
2+
api.cache(true);
3+
return {
4+
presets: ['babel-preset-expo'],
5+
};
6+
};

experiments-app/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import registerRootComponent from 'expo/build/launch/registerRootComponent';
2+
import App from './src/App';
3+
4+
registerRootComponent(App);

experiments-app/package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"name": "experiments-app",
3+
"private": true,
4+
"description": "Expo app for conducting experiments of React Native behaviour.",
5+
"version": "1.0.0",
6+
"main": "index.js",
7+
"scripts": {
8+
"typecheck": "tsc -noEmit",
9+
"start": "expo start",
10+
"android": "expo start --android",
11+
"ios": "expo start --ios",
12+
"web": "expo start --web"
13+
},
14+
"dependencies": {
15+
"@react-navigation/native": "^6.1.6",
16+
"@react-navigation/native-stack": "^6.9.12",
17+
"add": "^2.0.6",
18+
"expo": "~48.0.11",
19+
"expo-status-bar": "~1.4.4",
20+
"react": "18.2.0",
21+
"react-native": "0.71.6",
22+
"react-native-safe-area-context": "4.5.0",
23+
"react-native-screens": "~3.20.0",
24+
"yarn": "^1.22.19"
25+
},
26+
"devDependencies": {
27+
"@babel/core": "^7.20.0",
28+
"@types/react": "~18.0.14",
29+
"typescript": "^4.9.4"
30+
}
31+
}

0 commit comments

Comments
 (0)