1.0.0 • Published 5 years ago
@movetodigital/react-gallery v1.0.0
React gallery
// todoLibrary development:
yarn Scripts
test- run unit teststest:cover- run unit tests with test coveragelint- checkeslintandprettierruleslint:fix- autofix unmeteslintandprettierruleslocal-pack- create thetgzpackage locally to test consumers without publishingstart- start the storybook server and automatically open in browsercompile- standard typescript compiletsc
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_TOKEN
Zeit
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.
Dependabot (optional)
I recommend enabling Dependabot on this repository to keep your dependencies up to date. Each dependency update will be created as a PR, which will automatically validate via Circle CI and you can manually validate via Zeit.