Neti Pot Manufacturer

    @devshareacademy/prettier-config

    0.0.4 • Public • Published

    prettier-config

    Shared prettier config for my projects

    Install

    yarn add -DE @devshareacademy/prettier-config

    Install Via GitHub NPM Packages

    You can install this package from the GitHub NPM Package Repository. In order to do this, you must first authenticate with GitHub packages. You can read more about this process here: GitHub - Installing A GitHub Package.

    yarn config set @lookio:registry https://npm.pkg.github.com/
    echo "//npm.pkg.github.com/:_authToken=<github_personal_access_token>" > .npmrc
    yarn add -DE @devshareacademy/prettier-config

    Usage

    package.json

    {
      "name": "some-package-name",
      "prettier": "@devshareacademy/prettier-config"
    }

    If you want to extend the configuration, or not place in the package.json, you can place the configuration in one of the supported prettier configuration file formats. Example:

    .prettierrc.js

    module.exports = {
      ...require("@devshareacademy/prettier-config"),
      semi: false,
    };

    Publish New Version

    # Authenticate with NPM Package Registry
    npm login
    
    # Run publish script
    yarn publish:npm
    yarn publish:github

    Shared Configurations

    Install

    npm i @devshareacademy/prettier-config

    DownloadsWeekly Downloads

    0

    Version

    0.0.4

    License

    MIT

    Unpacked Size

    3.83 kB

    Total Files

    4

    Last publish

    Collaborators

    • scottwestover2006