React gallery
npm install @movetodigital/react-gallery``javascript 1.8`
// todo
Scripts - _run unit tests_
- test:cover - _run unit tests with test coverage_
- lint - _check eslint and prettier rules_
- lint:fix - _autofix unmet eslint and prettier rules_
- local-pack - _create the tgz package locally to test consumers without publishing_
- start - _start the storybook server and automatically open in browser_
- compile - _standard typescript compile tsc_Before each commit,
husky and lint-staged will automatically lint your staged ts, tsx, js, jsx files.Configuration
Circle CI
You need to configure one environment variable in CircleCI, for publishing to NPM.
- NPM_TOKENZeit
You need to authorize Zeit with your GitHub account to enable automatic deployments. Once configured, you can enable Zeit to deploy any repository that contains a now.json` file.