$ npm install
$ npm run dev
Generate all using:
$ npm run generate-all
Or separately:
-
index.html:
$ npm run generate-index
-
lodashBundle:
$ npm run generate-lodash
-
docs:
$ npm run generate-docs
$ npm run build
Before deploying:
- Install deps.
- Generate all files.
- Build.
- Run
npm run firebase-login
if you're not logged in to firebase.
$ npm run deploy-hosting
Before deploying:
- Install deps in
functions/
. - Run
npm run build
infunctions/
- Run
npm run firebase-login
if you're not logged in to firebase.
From root project directory:
$ npm run deploy-functions