prettier-sql
Version:
Format whitespace in a SQL query to make it more readable
102 lines (101 loc) • 2.64 kB
JSON
{
"name": "prettier-sql",
"version": "5.1.1",
"description": "Format whitespace in a SQL query to make it more readable",
"license": "MIT",
"main": "lib/index.js",
"module": "dist/prettier-sql.min.js",
"types": "lib/index.d.ts",
"bin": {
"prettier-sql": "./bin/prettier-sql-cli.js"
},
"keywords": [
"sql",
"formatter",
"format",
"n1ql",
"redshift",
"spark",
"whitespace",
"mysql",
"mariadb",
"postgresql",
"pl/sql",
"transact-sql",
"db2"
],
"contributors": [
"Sean Song <mail@seansong.dev>"
],
"files": [
"bin",
"dist",
"lib"
],
"scripts": {
"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"
},
"pre-commit": [
"fix"
],
"repository": {
"type": "git",
"url": "https://github.com/inferrinizzard/prettier-sql.git"
},
"bugs": {
"url": "https://github.com/inferrinizzard/prettier-sql/issues"
},
"dependencies": {
"argparse": "^2.0.1"
},
"devDependencies": {
"@babel/cli": "^7.10.4",
"@babel/core": "^7.10.4",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/preset-env": "^7.10.4",
"@babel/preset-typescript": "^7.15.0",
"@jest/globals": "^27.5.1",
"@types/babel__core": "^7.1.15",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.32.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.1.0",
"babel-loader": "^8.1.0",
"babel-plugin-add-module-exports": "^1.0.2",
"dedent-js": "^1.0.1",
"eslint": "^7.4.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-config-airbnb-typescript": "^14.0.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.1.4",
"jest": "^26.1.0",
"pre-commit": "^1.2.2",
"prettier": "^2.0.5",
"release-it": "^14.11.7",
"rimraf": "^3.0.2",
"ts-loader": "^9.2.6",
"typescript": "^4.3.5",
"webpack": "^5.64.1",
"webpack-cli": "^4.9.1",
"webpack-merge": "^5.8.0"
},
"jest": {
"roots": [
"test"
],
"collectCoverage": true
}
}