-
Notifications
You must be signed in to change notification settings - Fork 10
/
package.json
118 lines (118 loc) · 3.06 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "dbt-formatter",
"version": "1.3.0",
"description": "DBT jinja/sql formatter",
"keywords": [
"dbt",
"formatter",
"jinja",
"sql"
],
"main": "dist/dbt-formatter.cjs.js",
"module": "dist/dbt-formatter.esm.js",
"browser": "dist/dbt-formatter.umd.js",
"files": [
"dist"
],
"author": "Henri Blancke <[email protected]>",
"repository": {
"type": "git",
"url": "git+https://github.com/henriblancke/dbt-formatter.git"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/henriblancke/dbt-formatter/issues"
},
"homepage": "https://github.com/henriblancke/dbt-formatter#readme",
"engines": {
"node": ">=10.0.0"
},
"bin": "dist/cli/formatter.js",
"scripts": {
"test": "jest --coverage",
"prebuild": "rimraf dist bin",
"build": "npm run prebuild && rollup -c rollup.config.ts",
"prepublishOnly": "npm run build",
"package": "npm run prebuild && npm run build && pkg dist/cli/* --out-path bin --debug",
"test:watch": "jest --coverage --watch",
"test:ci": "npm run lint && npm run test -- --no-cache",
"tslint-check": "tslint-config-prettier-check ./tslint.json",
"lint": "tslint --project tsconfig.json -t codeFrame 'src/**/*.ts' 'test/**/*.ts'"
},
"lint-staged": {
"{src,test}/**/*.ts": [
"prettier --write",
"git add"
]
},
"jest": {
"transform": {
".(ts|tsx)": "ts-jest"
},
"testEnvironment": "node",
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"@types": "<rootDir>/src/types",
"@core/(.*)": "<rootDir>/src/core/$1",
"@utils/(.*)": "<rootDir>/src/utils/$1",
"@constants/(.*)": "<rootDir>/src/constants/$1",
"@constants": "<rootDir>/src/constants"
},
"coveragePathIgnorePatterns": [
"/node_modules/",
"/test/"
],
"coverageThreshold": {
"global": {
"branches": 15,
"functions": 25,
"lines": 25,
"statements": 25
}
},
"collectCoverageFrom": [
"src/*.{js,ts}"
]
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"printWidth": 120
},
"devDependencies": {
"@babel/types": "^7.10.0",
"@rollup/plugin-commonjs": "^12.0.0",
"@rollup/plugin-json": "^4.0.3",
"@rollup/plugin-node-resolve": "^8.0.0",
"@rollup/plugin-typescript": "^3.1.1",
"@types/glob": "^7.1.1",
"@types/jest": "^25.2.3",
"@types/lodash": "^4.14.153",
"@types/node": "^14.0.5",
"jest": "^26.0.1",
"jest-config": "^26.0.1",
"lodash.camelcase": "^4.3.0",
"pkg": "^4.4.8",
"prettier": "^2.0.5",
"rimraf": "^3.0.2",
"rollup": "^2.10.9",
"ts-jest": "^26.0.0",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"tslint-config-prettier": "^1.18.0",
"tslint-config-standard": "^9.0.0",
"typedoc": "^0.17.7",
"typescript": "^3.9.3"
},
"dependencies": {
"commander": "^5.1.0",
"glob": "^7.1.6",
"lodash": "^4.17.15"
}
}