prettier-config
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.
-
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.
- Make sure you're logged into Flywire's npm account with the credentials.
-
npm version <update_type>
-
update_type
can bepatch
,minor
, ormajor
. If you don't know which one to use, go read about semantic versioning.
-
-
npm publish