prettier-sql

v5.0.1
Format whitespace in a SQL query to make it more readable
sql formatter format n1ql redshift spark whitespace mysql mariadb and 5 more...

clean

rimraf lib dist coverage

lint

eslint .

pretty

prettier --write .

fix

npm run pretty && eslint --fix .

pretty:check

prettier --check .

test

jest

test:watch

npm run test -- --watch

check

npm run pretty:check && npm run lint && npm run test

prepare

npm run clean && npm run fix && npm run check && npm run build

build:commonjs

babel src --out-dir lib --extensions .ts --source-maps && tsc --module commonjs --emitDeclarationOnly --isolatedModules

build:umd

webpack --config webpack.dev.js

build:umd:min

webpack --config webpack.prod.js

build

npm run build:commonjs && npm run build:umd && npm run build:umd:min

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 11/25/2021

Downloads

Maintainers