@typescord/mrm-preset

2.1.2 • Public • Published

Mrm Preset

Typescord preset for mrm to easily init projects and keep configuration files in-sync.

Getting started

npm install mrm @typescord/mrm-preset --save-dev
# or with Yarn
yarn add mrm @typescord/mrm-preset -D

Add 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.).

Available tasks

  • 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

/@typescord/mrm-preset/

    Package Sidebar

    Install

    npm i @typescord/mrm-preset

    Weekly Downloads

    1

    Version

    2.1.2

    License

    MIT

    Unpacked Size

    32.9 kB

    Total Files

    17

    Last publish

    Collaborators

    • enderdragonneau
    • mestery