Set up firebase:
- install Firebase Tools:
npm i -g firebase-tools
- create a project through the firebase web console
- grab the projects ID from the web consoles URL: https://console.firebase.google.com/project/
touch .firebaserc
{
"projects": {
"default": "<project-name-here>"
}
}
- login to the Firebase CLI tool with
firebase login
npm install
npm run dev
npm run serve
npm run deploy
npm run clean
Firebase + nextjs https://github.com/zeit/next.js/tree/master/examples/with-firebase-hosting-and-typescript
Nextjs + react-native-web https://github.com/zeit/next.js/tree/master/examples/with-react-native-web
Typescript + eslint https://dev.to/robertcoopercode/using-eslint-and-prettier-in-a-typescript-project-53jb
npm run clean