Skip to content

Commit e561333

Browse files
committed
many additions, made Unstated counter resetable
0 parents  commit e561333

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+7085
-0
lines changed

.expo-shared/assets.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"7adc6cdde1172c646f8dda7fcb1186d148e59e6d2a40774bd7e03281a653f19c": true,
3+
"89ed26367cdb9b771858e026f2eb95bfdb90e5ae943e716575327ec325f39c44": true,
4+
"a55185c5431ee9c5e119e55fd0c5aebfd835f055a825fbda20fc99a5b87faa8c": true,
5+
"e5e09c86e35411f6f95c5c37571de2e70cc11f577a8cea53f9e65f662c97dede": true,
6+
"11d7cfbc1041521ed9af938e10b654181b2ebf4bc473921f9f188f667a4c43d9": true,
7+
"e0ee906496bb87f525de46a28580bc0eef5896e4c046aea6fc1dbdf10c429113": true,
8+
"3deec5eb20f7870c4ca0ef9f0811766f431a741286201ecbcdc399e00257d458": true,
9+
"3daa65b9e6ef01443d818bc999427f972ff3ae2c8ca0b57a31ee8bc56e77766b": true,
10+
"f63d54268c35ca8fced5f985cbc04649c04b6a0afcb71af9a2577beea071ce70": true,
11+
"d186942000fd998c1f0745ea0b29b1ac15eed8196116ed3e525a4c2db2010cda": true,
12+
"568f0b89dac73ee1242fc0299454a3c7fa6371c1a367e870036dfc41c565a104": true,
13+
"5b1e639403811807b252fb53b50bcce872c1c2151f47c2e9683d92c9a989d209": true,
14+
"fda6fb3825625b5a4a40741daec09a8a087ec53365867c50bdfc033e35a502f5": true,
15+
"f9155ac790fd02fadcdeca367b02581c04a353aa6d5aa84409a59f6804c87acd": true,
16+
"787b7bb449820ce9da896953e5a18705996d4df2b74370290b8cdd9f392513a5": true
17+
}

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.re linguist-language=OCaml
2+
*.rei linguist-language=OCaml

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules/**/*
2+
.expo/
3+
npm-debug.*
4+
*.jks
5+
*.p12
6+
*.key
7+
*.mobileprovision
8+
**/**/*.bs.js
9+
.bsb.lock
10+
lib
11+
.merlin

App.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { app as default } from "./src/App.bs.js";

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": "ReasonNavEx",
4+
"description": "A basic ReasonExpo app.",
5+
"slug": "reason-nav-ex-test",
6+
"privacy": "public",
7+
"sdkVersion": "34.0.0",
8+
"platforms": [
9+
"ios",
10+
"android"
11+
],
12+
"version": "1.0.0",
13+
"orientation": "portrait",
14+
"icon": "./assets/icon.png",
15+
"splash": {
16+
"image": "./assets/splash.png",
17+
"resizeMode": "contain",
18+
"backgroundColor": "#ffffff"
19+
},
20+
"updates": {
21+
"fallbackToCacheTimeout": 0
22+
},
23+
"assetBundlePatterns": [
24+
"**/*"
25+
],
26+
"ios": {
27+
"supportsTablet": true
28+
}
29+
}
30+
}

assets/icon.png

1.47 KB
Loading

assets/splash.png

7.01 KB
Loading

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+
};

bsconfig.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"name": "my-reason-expo-app",
3+
"reason": {
4+
"react-jsx": 3
5+
},
6+
"bsc-flags": ["-bs-super-errors"],
7+
"bs-dependencies": [
8+
"reason-react",
9+
"reason-react-native",
10+
"reason-react-navigation",
11+
"reason-expo"
12+
],
13+
"sources": [
14+
{
15+
"dir": "src",
16+
"subdirs":true
17+
}
18+
],
19+
"suffix": ".bs.js",
20+
"refmt": 3,
21+
"gentypeconfig": {
22+
"language": "typescript",
23+
"module": "es6",
24+
"importPath": "relative",
25+
"shims": {
26+
"Js": "Js",
27+
"React": "ReactShim",
28+
"ReactEvent": "ReactEvent",
29+
"ReasonPervasives": "ReasonPervasives",
30+
"ReasonReact": "ReactShim"
31+
},
32+
"debug": {
33+
"all": false
34+
},
35+
"exportInterfaces": false
36+
},
37+
"package-specs": {
38+
"module": "es6",
39+
"in-source": true
40+
}
41+
}

package.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"main": "node_modules/expo/AppEntry.js",
3+
"scripts": {
4+
"start": "expo start",
5+
"android": "expo start --android",
6+
"ios": "expo start --ios",
7+
"eject": "expo eject",
8+
"build": "bsb -make-world -clean-world",
9+
"watch": "bsb -make-world -clean-world -w"
10+
},
11+
"dependencies": {
12+
"bs-platform": "^5.0.4",
13+
"expo": "^34.0.3",
14+
"expo-linear-gradient": "^5.0.1",
15+
"gentype": "2.37.0",
16+
"react": "16.8.3",
17+
"react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz",
18+
"react-native-gesture-handler": "~1.3.0",
19+
"react-native-paper": "2.16.0",
20+
"react-native-reanimated": "~1.1.0",
21+
"react-navigation": "3.12.0",
22+
"reason-expo": "^34.0.0",
23+
"reason-react": "^0.7.0",
24+
"reason-react-native": "^0.60.0",
25+
"reason-react-navigation": "3.11.0-alpha.0"
26+
},
27+
"devDependencies": {
28+
"babel-preset-expo": "^6.0.0"
29+
},
30+
"private": true
31+
}

0 commit comments

Comments
 (0)