forked from sql-formatter-org/sql-formatter
-
Notifications
You must be signed in to change notification settings - Fork 38
/
package.json
71 lines (71 loc) · 1.99 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{
"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 .",
"format": "prettier --write \"**/*.{js,jsx,md,json,css,html,prettierrc,eslintrc,babelrc}\"",
"check:format": "prettier --check \"**/*.{js,jsx,md,json,css,html,prettierrc,eslintrc,babelrc}\"",
"test": "jest",
"test:watch": "npm run test -- --watch",
"check": "npm run lint && npm run check:format && 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"
},
"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.7.0",
"lodash": "^4.17.15"
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"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.19.1",
"rimraf": "^3.0.0",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10"
},
"jest": {
"roots": [
"test"
],
"testRegex": ".*Test",
"collectCoverage": true
}
}