@pixeloven-tooling/pretty

6.2.0 • Public • Published

@pixeloven-tooling/pretty

Pixel Oven tooling pretty

See our website PixelOven for more information or our issues board to report issues associated with this package.

Install

Using npm:

npm install --save-dev @pixeloven-tooling/pretty

or using yarn:

yarn add --dev @pixeloven-tooling/pretty

Usage

Note this package was originally created to encapsulate common dependencies and scripts used during the development of PixelOven. For a full public CLI experience please see our website pixeloven.

This simple package wraps prettier for use throughout our workflow. We often use this package side by side with lint-staged to help improve our code quality.

Example of usage in package.json

{
  "devDependencies": {
    "@pixeloven-tooling/pretty": "6.2.0",
    "lint-staged": "10.0.7"
  },
  "scripts": {
    "pretty": "pixeloven-pretty src/**/*.{scss,ts,tsx}"
  },
  "lint-staged": {
    "src/**/*.{scss,ts,tsx}": [
      "pixeloven-pretty"
    ]
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i @pixeloven-tooling/pretty

Weekly Downloads

0

Version

6.2.0

License

MIT

Unpacked Size

3.84 kB

Total Files

4

Last publish

Collaborators

  • briangeb