sql-formatter-plus
Version:
Formats whitespace in a SQL query to make it more readable
71 lines (70 loc) • 1.98 kB
JSON
{
"name": "sql-formatter-plus",
"version": "1.3.6",
"description": "Formats whitespace in a SQL query to make it more readable",
"license": "MIT",
"main": "lib/sqlFormatter.js",
"keywords": [
"sql",
"formatter",
"format",
"n1ql",
"whitespace"
],
"authors": [
"Rene Saarsoo",
"Uku Pattak"
],
"files": [
"dist",
"lib",
"src"
],
"scripts": {
"clean": "rimraf lib dist",
"lint": "eslint .",
"test": "jest",
"test:watch": "npm run test -- --watch",
"check": "npm run lint && npm run test",
"build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min",
"build:commonjs": "babel src --out-dir lib",
"build:umd": "webpack --mode development src/sqlFormatter.js --output dist/sql-formatter.js",
"build:umd:min": "webpack --mode production src/sqlFormatter.js --output dist/sql-formatter.min.js",
"prepublish": "npm run clean && npm run check && npm run build",
"format": "prettier --write \"**/*.{js,jsx,md,json,css,html,prettierrc,eslintrc,babelrc}\""
},
"repository": {
"type": "git",
"url": "https://github.com/kufii/sql-formatter-plus.git"
},
"bugs": {
"url": "https://github.com/kufii/sql-formatter-plus/issues"
},
"dependencies": {
"@babel/polyfill": "^7.6.0",
"lodash": "^4.17.15"
},
"devDependencies": {
"@babel/cli": "^7.6.4",
"@babel/core": "^7.6.4",
"@babel/preset-env": "^7.6.3",
"babel-eslint": "^10.0.3",
"babel-plugin-add-module-exports": "^1.0.2",
"dedent-js": "^1.0.1",
"eslint": "^6.6.0",
"eslint-config-adpyke-es6": "^1.4.13",
"eslint-config-prettier": "^6.5.0",
"jest": "^24.9.0",
"prettier": "^1.18.2",
"rimraf": "^3.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.9"
},
"jest": {
"roots": [
"test"
],
"testRegex": ".*Test",
"collectCoverage": true
}
}