Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.32 KB

CONTRIBUTING.md

File metadata and controls

43 lines (34 loc) · 1.32 KB

Contributing

Making changes

Ensure you are following standard for code style. You can run linting at any point using

$ npm run lint

When you are ready to commit please be sure to follow the commit convention.

Available Scripts

$ npm run clean         # Clean the build directory
$ npm run start         # Start a development instance
$ npm run lint          # Run linting on all files
$ npm run dist          # Create a package for the current platform
$ npm run dist-all      # Create a package for all platforms
$ npm run start:prod    # Start a packaged instance
$ npm run changelog     # Generate the changelog using conventional-changelog
$ npm run changelog:github # Publish the release and changelog to github

Release

$ npm run lint
$ npm version --no-git-tag-version [major | minor | patch | premajor | preminor | prepatch | prerelease]
$ npm run changelog
$ git add package.json CHANGELOG.md
$ git commit -m "chore: Release v<new version>"
$ git tag v<new version>
$ git push upstream master
$ git push upstream master --tags
$ npm run changelog:github
$ npm run dist-all

Missing: How to upload and distribute packages