Documentation website for GreenwoodJS, using GreenwoodJS for development, naturally. Site is hosted on Netlify.
- Clone the repo
- Have NodeJS LTS installed. (If using nvm, run
nvm use
instead) - Run
npm ci
Important
To contribute to this project, please see our Contributing guidelines
Tip
See package.json#scripts
for all available commands.
To run the site locally for development, run
$ npm run dev
To build the site for production and view it locally, run:
$ npm run serve
To build storybook for local development, you can run:
$ npm run story:dev
To run tests in watch mode, you can run:
$ npm run test:tdd
Otherwise all tests can be run once with:
$ npm run test