In order to install all of
bloom-web's dependencies you'll need to run
npm login with the appropriate npm org credentials. These credentials exist with existing stakeholders who will be happy to share them with you (preferably via LastPass). If this is an emergency, npm org creds can be reset using the
firstname.lastname@example.org email or by consulting with @soung3.
npm loginmust be performed to successfully run
npm install- this allows npm to download the bloom-dearborn package as one of the dependencies of bloom-web
namefield of the LastPass credentials
npm login, run
npm installfrom your local bloom-web repo directory
npm installfails because of phantomjs, just try running npm install again.
npm test -- --watch
npm run test-updateSnapshot.
gulp serve- Kicks off server and watches for file changes.
gulp build- Will build resources to /build/dev (Unminified, untested)
It's advised you run tests prior pushing code to your branch. To help facilitate this,
bloom-web comes packed with husky which automatically generates a pre-push hook for you. Note, if you've installed dependencies with
yarn you may need to run
yarn add husky --force Open Issue.
fab stage deploy
fab beta deploy
Want some handy snippets for building React components? Check out bloom-sublime