Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

Latest commit

 

History

History
37 lines (23 loc) · 1.12 KB

File metadata and controls

37 lines (23 loc) · 1.12 KB

prettier-config

npm version

Flywire's base prettier configuration.

Installation

npm install --save-dev @flywire/prettier-config

If you don't have it installed already, also install prettier as a devDependency.

npm install --save-dev prettier

Usage

Create a .prettierrc.js or prettier.config.js file at the root of your project that contains:

module.exports = require('@flywire/prettier-config');

How to publish to npm

Read npm's docs on How to Update a Package.

  1. npm login

    • Make sure you're logged into Flywire's npm account with the credentials. npm whoami will tell you if you're already logged in.
  2. npm version <update_type>

    • update_type can be patch, minor, or major. If you don't know which one to use, go read about semantic versioning.
  3. npm publish