关于
用于处理项目配置文件的 Codemod
开发工具可以做什么
- Doesn’t overwrite your data unless you want to
- Minimal changes: keeps the original file formatting or read the style from EditorConfig
- Minimal configuration: tries to infer configuration from the project itself or from the environment
- Customizable tasks for popular tools like ESLint, Prettier, lint-staged, etc. included
实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- -1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Mrm
Command line tool to help you keep configuration (package.json, .gitignore, .eslintrc, etc.) of your open source projects in sync.
Features
- Doesn’t overwrite your data unless you want to
- Minimal changes: keeps the original file formatting or read the style from EditorConfig
- Minimal configuration: tries to infer configuration from the project itself or from the environment
- Customizable tasks for popular tools like ESLint, Prettier, lint-staged, etc. included
- Custom tasks and tools to work with JSON, YAML, INI, Markdown and new line separated text files
- Sharing tasks via npm and grouping them into presets

Motivation
Most of the available tools are template based. Template approach works moderately well for new project generation but doesn’t work well for updating. Mrm’s approach is closer to codemods than templates.
Read more in my article, Automating open source project configuration with Mrm, or watch my talk on Mrm.
Documentation
- Getting started
- Making your own tasks
- Sharing tasks via npm
- Making your own presets
- FAQ
- Utilities to write codemods
Tasks
These tasks are included by default:
- ci
- codecov
- contributing
- dependabot
- editorconfig
- eslint
- gitignore
- jest
- license
- lint-staged
- package
- prettier
- readme
- semantic-release
- styleguidist
- stylelint
- travis
- typescript
Changelog
The changelog can be found on the Releases page.
Sponsoring
This software has been developed with lots of coffee, buy me one more cup to keep it going.
Contributing
Bug fixes are welcome, but not new features. Please take a moment to review the contributing guidelines.
Authors and license
Artem Sapegin and contributors.
MIT License, see the included License.md file.
探索相关项目
加载中…

