1 | {
|
2 | "name": "sql-formatter",
|
3 | "version": "1.2.0",
|
4 | "description": "Formats whitespaces in a SQL query to make it more readable",
|
5 | "license": "MIT",
|
6 | "main": "lib/sqlFormatter.js",
|
7 | "keywords": [
|
8 | "sql",
|
9 | "formatter",
|
10 | "format",
|
11 | "n1ql",
|
12 | "whitespaces"
|
13 | ],
|
14 | "authors": [
|
15 | "Rene Saarsoo",
|
16 | "Uku Pattak"
|
17 | ],
|
18 | "files": [
|
19 | "dist",
|
20 | "lib",
|
21 | "src"
|
22 | ],
|
23 | "scripts": {
|
24 | "clean": "rimraf lib dist",
|
25 | "lint": "eslint .",
|
26 | "test": "jest",
|
27 | "test:watch": "npm run test -- --watch",
|
28 | "check": "npm run lint && npm run test",
|
29 | "build": "npm run build:commonjs && npm run build:umd && npm run build:umd:min",
|
30 | "build:commonjs": "babel src --out-dir lib",
|
31 | "build:umd": "cross-env NODE_ENV=development webpack src/sqlFormatter.js dist/sql-formatter.js",
|
32 | "build:umd:min": "cross-env NODE_ENV=production webpack src/sqlFormatter.js dist/sql-formatter.min.js",
|
33 | "prepublish": "npm run clean && npm run check && npm run build"
|
34 | },
|
35 | "repository": {
|
36 | "type": "git",
|
37 | "url": "https://github.com/zeroturnaround/sql-formatter.git"
|
38 | },
|
39 | "bugs": {
|
40 | "url": "https://github.com/zeroturnaround/sql-formatter/issues"
|
41 | },
|
42 | "dependencies": {
|
43 | "babel-runtime": "^6.18.0",
|
44 | "lodash": "^4.16.0"
|
45 | },
|
46 | "devDependencies": {
|
47 | "babel-cli": "^6.14.0",
|
48 | "babel-core": "^6.11.4",
|
49 | "babel-eslint": "^7.1.0",
|
50 | "babel-jest": "^17.0.2",
|
51 | "babel-loader": "^6.2.4",
|
52 | "babel-plugin-add-module-exports": "^0.2.1",
|
53 | "babel-plugin-transform-class-properties": "^6.11.5",
|
54 | "babel-plugin-transform-es3-member-expression-literals": "^6.5.0",
|
55 | "babel-plugin-transform-es3-property-literals": "^6.5.0",
|
56 | "babel-plugin-transform-function-bind": "^6.8.0",
|
57 | "babel-plugin-transform-object-rest-spread": "^6.8.0",
|
58 | "babel-plugin-transform-runtime": "^6.8.0",
|
59 | "babel-preset-es2015": "^6.14.0",
|
60 | "cross-env": "^3.1.3",
|
61 | "eslint": "^3.1.1",
|
62 | "eslint-config-zt": "^1.3.0",
|
63 | "jest": "^17.0.2",
|
64 | "rimraf": "^2.3.4",
|
65 | "webpack": "^1.13.1"
|
66 | },
|
67 | "jest": {
|
68 | "testPathDirs": [
|
69 | "test"
|
70 | ],
|
71 | "testRegex": ".*Test",
|
72 | "collectCoverage": true
|
73 | }
|
74 | }
|