@hokaccha/sql-formatter
Version:
Format whitespace in a SQL query to make it more readable
66 lines (65 loc) • 1.77 kB
JSON
{
"name": "@hokaccha/sql-formatter",
"version": "1.4.0",
"description": "Format whitespace in a SQL query to make it more readable",
"license": "MIT",
"main": "dist/cjs/sqlFormatter.js",
"module": "dist/esm/sqlFormatter.js",
"types": "dist/types/sqlFormatter.d.ts",
"sideEffects": false,
"files": [
"dist/",
"src/"
],
"scripts": {
"build": "tsc -p tsconfig.build.json && tsc -p tsconfig.build.json --module commonjs --outDir 'dist/cjs'",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build",
"lint": "run-p -l -c --aggregate-output lint:*",
"lint:tsc": "tsc --noEmit",
"lint:eslint": "eslint . --max-warnings 0",
"lint:prettier": "prettier --check '**/*.{ts,js}'",
"format": "run-s format:*",
"format:eslint": "eslint --fix .",
"format:prettier": "prettier --write '**/*.{ts,js}'",
"test": "jest"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@typescript-eslint/eslint-plugin": "^5.17.0",
"@typescript-eslint/parser": "^5.17.0",
"dedent-js": "^1.0.1",
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.25.4",
"jest": "^27.5.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.6.2",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3"
},
"repository": {
"type": "git",
"url": "https://github.com/hokaccha/sql-formatter.git"
},
"bugs": {
"url": "https://github.com/hokaccha/sql-formatter/issues"
},
"keywords": [
"sql",
"formatter",
"format",
"n1ql",
"redshift",
"spark",
"whitespace",
"mysql",
"mariadb",
"postgresql",
"pl/sql",
"transact-sql",
"db2",
"bigquery"
]
}