diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..df497bd --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "design-patterns-game-test" + } +} diff --git a/.travis.yml b/.travis.yml index 4ffab78..720a81c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ after_success: - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js deploy: - provider: surge - project: ./build - domain: http://designpatternsgame.com + provider: firebase + token: + secure: $FIREBASE_TOKEN skip_cleanup: true diff --git a/README.md b/README.md index 4f76557..27378a5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![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/) -Design Patterns - a quick game to test your familiarity with the 'Gang of Four' design patterns implemented in JavaScript. +Design Patterns - a quick game to test your familiarity with the 'Gang of Four' design patterns implemented in JS. ### :zap: [PLAY HERE](http://designpatternsgame.com/) diff --git a/firebase.json b/firebase.json new file mode 100644 index 0000000..340ed5b --- /dev/null +++ b/firebase.json @@ -0,0 +1,16 @@ +{ + "hosting": { + "public": "build", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] + } +}