This repository has been archived by the owner on Dec 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
137 lines (137 loc) · 3.38 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
"name": "dkron-js-client",
"version": "0.0.2",
"description": "DKron JS client",
"main": "dist/index.js",
"type": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/Leadformance/dkron-js-client.git"
},
"engines": {
"node": ">=8"
},
"author": "[email protected]",
"license": "MIT",
"private": false,
"scripts": {
"build": "tsc",
"ci-validate": "yarn lint && yarn build && yarn test:cov",
"cover": "open coverage/lcov-report/index.html",
"lint": "yarn lint:tslint && yarn lint:prettier && yarn lint:commit",
"lint:commit": "commitlint --from=$( git rev-list --tags --max-count=1 )",
"lint:prettier": "yarn prettier -l '{src,test}/**/*.{ts,js,md,json}'",
"lint:prettier:fix": "yarn prettier --write '{src,test}/**/*.{ts,js,md,json}'",
"lint:tslint": "tslint --project tsconfig.json -c tslint.json 'src/**/*.ts' 'test/**/*.ts' -t stylish ",
"prepublish": "yarn build",
"test": "jest --forceExit --detectOpenHandles",
"test:cov": "yarn test --ci --coverage",
"test:integration": "INTEGRATION=1 yarn test -i",
"test:watch": "yarn test --watch"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "yarn build && pretty-quick --staged && yarn lint"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
],
"rules": {
"scope-enum": [
2,
"always",
[
"jobs",
"leader",
"leave",
"members",
"status"
]
],
"type-enum": [
2,
"always",
[
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"release",
"style",
"test"
]
]
}
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"arrowParens": "avoid"
},
"jest": {
"moduleFileExtensions": [
"js",
"ts"
],
"coverageDirectory": "coverage",
"collectCoverage": false,
"collectCoverageFrom": [
"src/**/*.{ts}",
"!src/**/*.d.ts",
"!src/**/index.ts",
"!**/@types/**",
"!**/node_modules/**",
"!test/**"
],
"globalSetup": "<rootDir>/test/_jest/global-setup.js",
"globalTeardown": "<rootDir>/test/_jest/global-teardown.js",
"modulePaths": [
"."
],
"setupTestFrameworkScriptFile": "<rootDir>/test/_jest/setup.ts",
"testEnvironment": "node",
"testMatch": [
"**/?(*).(test).ts?(x)"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist"
],
"transform": {
"\\.(ts|tsx)$": "ts-jest"
}
},
"devDependencies": {
"@commitlint/cli": "^7.2.1",
"@commitlint/config-conventional": "^7.1.2",
"@types/jest": "^23.3.2",
"@types/node": "^10.12.0",
"bluebird": "^3.5.2",
"codecov": "^3.1.0",
"dyson": "^2.0.1",
"express": "^4.16.4",
"husky": "^1.1.2",
"jest": "^23.6.0",
"jest-environment-node-debug": "^2.0.0",
"prettier": "^1.14.2",
"pretty-quick": "^1.8.0",
"ts-jest": "^23.1.4",
"tslint": "^5.11.0",
"tslint-config-prettier": "^1.15.0",
"tslint-sonarts": "^1.8.0",
"typescript": "^3.1.3"
},
"dependencies": {
"axios": "^0.18.0"
}
}