UNPKG

4.32 kBJSONView Raw
1{
2 "name": "sql-formatter",
3 "version": "6.1.0",
4 "description": "Format whitespace in a SQL query to make it more readable",
5 "license": "MIT",
6 "main": "lib/index.js",
7 "types": "lib/src/index.d.ts",
8 "bin": {
9 "sql-formatter": "./bin/sql-formatter-cli.js"
10 },
11 "keywords": [
12 "sql",
13 "formatter",
14 "format",
15 "n1ql",
16 "redshift",
17 "spark",
18 "whitespace",
19 "mysql",
20 "mariadb",
21 "postgresql",
22 "pl/sql",
23 "transact-sql",
24 "db2",
25 "sqlite"
26 ],
27 "contributors": [
28 "Adrien Pyke <adpyke@gmail.com>",
29 "Alexandr Kozhevnikov <aedkozhevnikov@sberbank.ru>",
30 "Andrew",
31 "Benjamin Bellamy",
32 "bingou",
33 "Damon Davison <ddavison@avalere.com>",
34 "Davut Can Abacigil <can@teamsql.io>",
35 "Erik Hirmo <erik.hirmo@roguewave.com>",
36 "George Leslie-Waksman <waksman@gmail.com>",
37 "htaketani <h.taketani@gmail.com>",
38 "Ian Campbell <icampbell@immuta.com>",
39 "ivan baktsheev",
40 "Jacobo Bouzas Quiroga <jacobo.bouzas@factorial.co>",
41 "João Pimentel Ferreira",
42 "Justin Dane Vallar <jdvallar@gmail.com>",
43 "Martin Nowak <code@dawg.eu>",
44 "Matheus Salmi <mathsalmi@gmail.com>",
45 "Matheus Teixeira <matheus.mtxr@gmail.com>",
46 "Nicolas Dermine <nicolas.dermine@gmail.com>",
47 "Offir Baron <ofir@panoply.io>",
48 "Olexandr Sydorchuk <olexandr.syd@gmail.com>",
49 "Rafael Pinto <raprp@posteo.de>",
50 "Rahel Rjadnev-Meristo <rahelini@gmail.com>",
51 "Rene Saarsoo <nene@triin.net>",
52 "Rodrigo Stuchi",
53 "Romain Rigaux <hello@getromain.com>",
54 "Sasha Aliashkevich <olsender@gmail.com>",
55 "Sean Song <mail@seansong.dev>",
56 "Sergei Egorov <sergei.egorov@zeroturnaround.com>",
57 "Steven Yung <stevenyung@fastmail.com>",
58 "Toliver <teejae@gmail.com>",
59 "Tyler Jones <tyler.jones@txwormhole.com>",
60 "Uku Pattak <ukupat@gmail.com>",
61 "Xin Hu <hoosin.git@gmail.com>"
62 ],
63 "files": [
64 "dist",
65 "bin",
66 "lib"
67 ],
68 "scripts": {
69 "clean": "rimraf lib dist coverage",
70 "ts:check": "tsc --noEmit",
71 "lint": "eslint .",
72 "pretty": "prettier --write .",
73 "fix": "yarn pretty && eslint --fix .",
74 "pretty:check": "prettier --check .",
75 "test": "jest",
76 "test:watch": "yarn test -- --watch",
77 "check": "yarn ts:check && yarn pretty:check && yarn lint && yarn test",
78 "prepare": "yarn clean && yarn fix && yarn check && yarn build",
79 "build:commonjs": "babel src --out-dir lib --extensions .ts --source-maps && tsc --module commonjs --emitDeclarationOnly --isolatedModules",
80 "build:umd": "webpack --config webpack.dev.js",
81 "build:umd:min": "webpack --config webpack.prod.js",
82 "build": "yarn build:commonjs && yarn build:umd && yarn build:umd:min",
83 "release": "release-it"
84 },
85 "pre-push": [
86 "ts:check",
87 "lint"
88 ],
89 "repository": {
90 "type": "git",
91 "url": "https://github.com/zeroturnaround/sql-formatter.git"
92 },
93 "bugs": {
94 "url": "https://github.com/zeroturnaround/sql-formatter/issues"
95 },
96 "dependencies": {
97 "argparse": "^2.0.1"
98 },
99 "devDependencies": {
100 "@babel/cli": "^7.10.4",
101 "@babel/core": "^7.10.4",
102 "@babel/plugin-proposal-class-properties": "^7.10.4",
103 "@babel/preset-env": "^7.10.4",
104 "@babel/preset-typescript": "^7.15.0",
105 "@jest/globals": "^28.0.2",
106 "@types/babel__core": "^7.1.15",
107 "@types/jest": "^27.5.0",
108 "@typescript-eslint/eslint-plugin": "^5.21.0",
109 "@typescript-eslint/parser": "^5.21.0",
110 "babel-eslint": "^10.1.0",
111 "babel-jest": "^28.0.2",
112 "babel-loader": "^8.1.0",
113 "babel-plugin-add-module-exports": "^1.0.2",
114 "dedent-js": "^1.0.1",
115 "eslint": "^8.14.0",
116 "eslint-config-airbnb-base": "^15.0.0",
117 "eslint-config-airbnb-typescript": "^17.0.0",
118 "eslint-config-prettier": "^8.5.0",
119 "eslint-plugin-import": "^2.22.0",
120 "eslint-plugin-prettier": "^4.0.0",
121 "jest": "^28.0.2",
122 "pre-push": "^0.1.2",
123 "prettier": "^2.0.5",
124 "release-it": "^14.11.7",
125 "rimraf": "^3.0.2",
126 "ts-jest": "^28.0.0",
127 "ts-loader": "^9.2.6",
128 "typescript": "^4.3.5",
129 "webpack": "^5.64.1",
130 "webpack-cli": "^4.9.1",
131 "webpack-merge": "^5.8.0"
132 },
133 "jest": {
134 "preset": "ts-jest",
135 "roots": [
136 "test"
137 ],
138 "collectCoverage": true,
139 "collectCoverageFrom": [
140 "src/**/*.ts"
141 ]
142 }
143}