Typescord preset for mrm to easily init projects and keep configuration files in-sync.
npm install mrm @typescord/mrm-preset --save-dev
# or with Yarn
yarn add mrm @typescord/mrm-preset -DAdd script to package.json file:
{
"scripts": {
"mrm": "mrm --preset @typescord/mrm-preset"
}
}Run tasks:
npm run mrm all --interactive # or task1 task2 etc.
# or with Yarn
yarn mrm all --interactive # or task1 task2 etc.--interactive, -i : to have the questions in an interactive way (instead of --config:foo bar --config:foo1 bar1 etc.).
- all (alias) : runs respectively license, gitignore, editorconfig, beauty, changelog, typescript, jest and ci
- base (alias) : runs respectively license, gitignore, editorconfig, beauty and changelog
- beauty : setups ESLint and Prettier
- changelog: setups a basic Changelog.md
- ci : setups GitHub Actions
- editorconfig : setups a EditorConfig file
- gitignore : setups a Gitignore file
- jest : setups Jest (and ts-jest if TypeScript is setup)
- license : setups a MIT license
- package : setups a complete package.json file
- release-please : setups Release Please action
- typescript : setups TypeScript