Contributions are always welcome, no matter how large or small. Before contributing, please read the code of conduct.
- install dependencies using yarn
$ yarn
- you can use npm instead
$ npm i
- install command globally and link (in order to use the "bit" command globaly and always use the latest development build)
npm install -g
npm link
- install
flow
and make sure you haveflow-typed
installed.
npm install -g flow-bin flow-typed
- install type definitions using flow-typed
flow-typed install
- build legacy and modern distributions:
npm run build
- use with watch, to run the build on every code modification
npm run watch
- run the unit tests
npm test
- run eslint
npm run lint
We actively welcome your pull requests.
- Fork the repo and create your branch from
master
. - If you've added code that should be tested, add tests.
- Ensure the test suite passes.
- Make sure your code lints.
By contributing to Bit, you agree that your contributions will be licensed under its Apache2 license.