Skip to content

Commit f73629b

Browse files
Merge pull request zoltantothcom#71 from zoltantothcom/dev
Switch to Firebase
2 parents 3fc9c61 + 3096e97 commit f73629b

File tree

4 files changed

+25
-4
lines changed

4 files changed

+25
-4
lines changed

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "design-patterns-game-test"
4+
}
5+
}

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ after_success:
1717
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
1818

1919
deploy:
20-
provider: surge
21-
project: ./build
22-
domain: http://designpatternsgame.com
20+
provider: firebase
21+
token:
22+
secure: $FIREBASE_TOKEN
2323
skip_cleanup: true

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Build Status](https://travis-ci.org/zoltantothcom/Design-Patterns-JavaScript.svg?branch=master)](https://travis-ci.org/zoltantothcom/Design-Patterns-JavaScript) [![Coverage Status](https://coveralls.io/repos/github/zoltantothcom/Design-Patterns-JavaScript/badge.svg?branch=master)](https://coveralls.io/github/zoltantothcom/Design-Patterns-JavaScript?branch=master) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/5f4e97b771504e23b0b414d2cbc69506)](https://www.codacy.com/app/zoltantothcom/Design-Patterns-JavaScript) [![Greenkeeper badge](https://badges.greenkeeper.io/zoltantothcom/Design-Patterns-JavaScript.svg)](https://greenkeeper.io/)
44

5-
Design Patterns - a quick game to test your familiarity with the 'Gang of Four' design patterns implemented in JavaScript.
5+
Design Patterns - a quick game to test your familiarity with the 'Gang of Four' design patterns implemented in JS.
66

77
### :zap: [PLAY HERE](http://designpatternsgame.com/)
88

firebase.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"hosting": {
3+
"public": "build",
4+
"ignore": [
5+
"firebase.json",
6+
"**/.*",
7+
"**/node_modules/**"
8+
],
9+
"rewrites": [
10+
{
11+
"source": "**",
12+
"destination": "/index.html"
13+
}
14+
]
15+
}
16+
}

0 commit comments

Comments
 (0)