mrm-task-prettier
Mrm task that adds Prettier
Last updated 7 years ago by sapegin .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install mrm-task-prettier 
SYNC missed versions from official npm registry.

mrm-task-prettier

Mrm task that adds Prettier.

What it does

  • Creates .prettierrc
  • Adds an npm script to run Prettier after tests
  • Installs dependencies

Usage

npx mrm prettier

Now run:

npm run format

Options

See Mrm docs for more details.

indent (default: tab)

Indentation, tab or number of spaces. Will be overwritten by options from EditorConfig.

prettierOptions

Prettier options, by default will try to infer options from EditorConfig.

prettierOverrides

Prettier overrides, by default will use overrides for Markdown to improve documentation readability.

prettierPattern (default: auto based on your dependencies)

Glob pattern to match file that should be formatted, for example **/*.{ts,tsx}.

Changelog

The changelog can be found in CHANGELOG.md.

Contributing

Everyone is welcome to contribute. Please take a moment to review the contributing guidelines.

Authors and license

Artem Sapegin and contributors.

MIT License, see the included License.md file.

Current Tags

  • 5.1.22                                ...           latest (a year ago)

63 Versions

  • 5.1.22                                ...           a year ago
  • 5.1.21                                ...           a year ago
  • 5.1.20                                ...           a year ago
  • 5.1.19                                ...           a year ago
  • 5.1.18                                ...           a year ago
  • 5.1.17                                ...           a year ago
  • 5.1.16                                ...           a year ago
  • 5.1.15                                ...           a year ago
  • 5.1.14                                ...           2 years ago
  • 5.1.13                                ...           2 years ago
  • 5.1.12                                ...           2 years ago
  • 5.1.11                                ...           2 years ago
  • 5.1.10                                ...           2 years ago
  • 5.1.9                                ...           2 years ago
  • 5.1.8                                ...           2 years ago
  • 5.1.7                                ...           2 years ago
  • 5.1.6                                ...           2 years ago
  • 5.1.5                                ...           2 years ago
  • 5.1.4                                ...           2 years ago
  • 5.1.3                                ...           2 years ago
  • 5.1.2                                ...           2 years ago
  • 5.1.1                                ...           2 years ago
  • 5.1.0                                ...           2 years ago
  • 5.0.0                                ...           3 years ago
  • 4.0.8                                ...           3 years ago
  • 4.0.7                                ...           3 years ago
  • 4.0.6                                ...           3 years ago
  • 4.0.5                                ...           3 years ago
  • 4.0.4                                ...           3 years ago
  • 4.0.3                                ...           3 years ago
  • 4.0.2                                ...           3 years ago
  • 4.0.0                                ...           4 years ago
  • 3.2.1                                ...           4 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.3                                ...           4 years ago
  • 3.1.2                                ...           4 years ago
  • 3.1.1                                ...           4 years ago
  • 3.1.0                                ...           4 years ago
  • 3.0.9                                ...           4 years ago
  • 3.0.8                                ...           4 years ago
  • 3.0.7                                ...           4 years ago
  • 3.0.6                                ...           4 years ago
  • 3.0.5                                ...           4 years ago
  • 3.0.4                                ...           4 years ago
  • 3.0.3                                ...           5 years ago
  • 3.0.2                                ...           5 years ago
  • 3.0.1                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.0.4                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.2.5                                ...           6 years ago
  • 1.2.4                                ...           6 years ago
  • 1.2.3                                ...           6 years ago
  • 1.2.2                                ...           7 years ago
  • 1.2.1                                ...           7 years ago
  • 1.2.0                                ...           7 years ago
  • 1.1.0                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE