Almin uses Yarn for running development scripts. If you haven't already done so, please install yarn.
- Node.js >= 6.0.0
- Yarn
First, you should install all dependencies by following:
# In project root
yarn install
Almin repository is monorepo top on lerna.
postinstall
life-cycle script automatically run yarn run bootstrap
that install all deps/devDeps.
You can find suitable issues to contribute on Issues label:starter.
Of course, welcome to fix the other issue or file issue.
Basic Pull Request steps:
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
Run all tests that includes examples in Node.js:
yarn test
# It includes unit test/example test
You can only run unit test:
cd packages/almin && yarn test
# or
yarn test -- --scope almin
Run unit tests in Browser:
cd packages/almin && yarn run test:browser
Contribute to documents without docs/api
- Fix the issue
- Preview documents
yarn run start:docs # preview
Welcome to fix documents!
Contribute to API Reference docs/api
API Reference is automatically generated from source code(`/src/*.ts``)
- Fix the comment of source code
- Build API Reference
yarn run build:docs:api # build
yarn run start:docs # preview
- Add Markdown document to
docs/
directory. - Add link to SUMMARY.md
Almin has adopted Conventional Commits
Run following commands:
yarn test
yarn run publish