Skip to content

Latest commit

 

History

History
85 lines (59 loc) · 1.71 KB

README.md

File metadata and controls

85 lines (59 loc) · 1.71 KB

Babel Configuration

License Version Release Node Version

Shareable babel configuration.

Installation

npm i -D @devpow112/babel-config

Usage

The shareable config can be configured in the Babel configuration file.

{
  "extends": "@devpow112/babel-config"
}

Development

Development can be done on any machine that can install Node.js. Only the latest LTS version is tested against.

Install Dependencies

Install dependencies via npm.

npm i

Linting

Execute linters via npm.

# git, javascript, markdown and package.json
npm run lint

# git only
npm run lint:git

# javascript only
npm run lint:js

# markdown only
npm run lint:md

# package.json only
npm run lint:pkg

Fixing

Execute automatic fixers via npm.

# javascript, markdown and package.json
npm run fix

# javascript only
npm run fix:js

# markdown only
npm run fix:md

# package.json only
npm run fix:pkg