Skip to content

Commit ad3bf1f

Browse files
authored
Update Simple Example Patterns + Dependencies
fix(examples): update simple example to use newest create-react-app results (including react 16.6)
2 parents a9caa17 + 16127e1 commit ad3bf1f

16 files changed

+15393
-116
lines changed

examples/complete/simple/.env

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SKIP_PREFLIGHT_CHECK=true

examples/complete/simple/.firebaserc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "redux-firebasev3"
4+
}
5+
}

examples/complete/simple/.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,5 @@ build
1212
# misc
1313
.DS_Store
1414
npm-debug.log
15+
16+
.firebase
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"rules": {
3+
".read": true,
4+
".write": true,
5+
"cars": {
6+
".read": "auth !== null",
7+
".write": "auth !== null"
8+
},
9+
"todos": {
10+
".read": true,
11+
".write": true
12+
},
13+
"projects": {
14+
".indexOn": ["createdBy"],
15+
".read": "auth !== null"
16+
},
17+
"users": {
18+
"Anonymous": {
19+
".read": true
20+
},
21+
"$uid": {
22+
".read": "auth !== null",
23+
".write": "$uid === auth.uid"
24+
}
25+
}
26+
}
27+
}
+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"database": {
3+
"rules": "database.rules.json"
4+
},
5+
"hosting": {
6+
"public": "build",
7+
"ignore": [
8+
"firebase.json",
9+
"**/.*",
10+
"**/node_modules/**"
11+
],
12+
"rewrites": [
13+
{
14+
"source": "**",
15+
"destination": "/index.html"
16+
}
17+
]
18+
}
19+
}

examples/complete/simple/index.html

-22
This file was deleted.

0 commit comments

Comments
 (0)