We use corepack with pnpm for development. Please make sure you have node.js, npm installed and corepack enabled.
After cloning Milkdown, run pnpm install to install dependencies.
- Run
pnpm build. - Run
pnpm startin one terminal to see storybook.
You can run several commands:
pnpm clearremove all build dist.pnpm test:unitruns unit test.pnpm test:e2eruns e2e test.pnpm test:e2e:debugruns e2e test with UI.pnpm test:lintchecks the code style.pnpm test:tscruns typescript type checks.pnpm buildruns build for all packages.pnpm commitruns commit with git hooks.
Before you create a pull request, please check the following todo:
- Pre commit hooks passed, please don't ignore it.
pnpm testpassed.
By contributing to Milkdown, you agree that your contributions will be licensed under its MIT license.