Socket
Book a DemoInstallSign in
Socket

@angular-buddies/prettier

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@angular-buddies/prettier

Your buddy who knows how to make your code pretty using Prettier.

1.0.0-alpha.3
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

@angular-buddies/prettier

Your buddy who knows how to make your code pretty using Prettier.

Easily add, configure, and use Prettier in your project. Extends the functionalities of Angular CLI, but also works without it, even for non-angular projects.

A tool from the Angular Buddies project.

Buddy cleaning a window

Add Prettier to your project

This buddy will handle everything for you : Prettier dependencies,scripts and default configurations.

with Angular Cli

ng add @angular-buddies/prettier

That all! :ok_hand:

without Angular CLI

  • install the package, locally or globally:

npm i [-g] @angular-buddies/prettier
or yarn [global] add @angular-buddies/prettier

Schematics

This package provide angular-devkit schematics in order to enhance prettier integration in your project.

If you are using Angular, we recommand to use Angular CLI. But if you don't, that ok: this buddy covered it for you too.

See this package's schematics documentation for more informations.

How To run a Schematic

Using Angular CLI

ng generate [@angular-buddies/prettier:]<schematic>

FYI: you can remove this collection (@angular-buddies/prettier:) from this command if you choose to set this package as your default collection during its initialisation.

Without Angular CLI

You'll need to install @angular-devkit/schematics-cli before anything:
npm i [-g] @angular-dekit/schematics-cli

schematics @angular-buddies/prettier:<schematic>

Scripts

Scripts are generated by the prettier-init schematic. You'll need to run it before using this scripts.

Prettify

Run prettier on all your workspace files.

Command : npm run prettify

Motivation

Originally, the first idea of this project was ased on the comment added to an associated issue in angular-cli.

Keywords

schematics

FAQs

Package last updated on 08 Nov 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.