Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.36 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.36 KB

Snow G.O.A.T.s

Fan site for ServiceNow's G(reatest) O(f) A(ll) T(ime). Submit Pull Requests to nominate a Snow GOAT. We're also Hacktoberfest 2021 official.

Usage

After installation, run npm install and then run npm start which will open up a preview of the site in your default browser, watch for changes to files, and reload the browser when changes are saved.

You can optionally install lefthook to enable pre-commit and pre-push hooks to format and lint any changes you make:

# install lefthook globally. See:
# https://github.com/evilmartians/lefthook/blob/master/docs/install.md
# for other install methods
brew install lefthook

# enable lefthook for this repo (run from repository root directory):
lefthook install

Scripts

  • npm start: starts a local development server to preview changes
  • npm run build: builds a standalone directory of the project into dist/
  • npm run lint: checks the project for lint errors
  • npm run lint-fix: checks the project for lint errors, automatically fixing issues when possible

Deployment

The site is deployed using Github Actions on successful pull requests to main. You should be able to see your changes right away on https://snowgo.at. If, for some reason, changes aren't reflected immediately it could be a caching issue with CloudFlare.