forked from Trendyol/express-validate-decorator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.47 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
{
"name": "express-validate-decorator",
"version": "0.2.0",
"main": "./dist/validate.js",
"types": "./dist/validate.d.ts",
"license": "MIT",
"scripts": {
"start": "ts-node index.ts",
"test": "jest",
"coverage": "jest",
"lint": "eslint --fix 'src/**/*.ts'",
"build": "tsc"
},
"contributors": [
],
"dependencies": {
"@hapi/joi": "^17.1.1",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@types/express": "^4.17.6",
"@types/hapi__joi": "^17.1.0",
"@types/jest": "^25.2.3",
"@typescript-eslint/eslint-plugin": "^3.0.2",
"@typescript-eslint/parser": "^3.0.2",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.13.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"express": "^4.17.1",
"husky": "^4.2.5",
"jest": "^26.0.1",
"prettier": "^2.0.5",
"ts-jest": "^26.1.0",
"typescript": "^3.9.2"
},
"eslintConfig": {
"env": {
"browser": true,
"es6": true,
"node": true
},
"extends": [
"plugin:prettier/recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/all",
"standard",
"prettier"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"prettier/prettier": "error",
"jest/no-hooks": "off",
"jest/prefer-expect-assertions": "off",
"jest/no-standalone-expect": "off"
}
},
"husky": {
"hooks": {
"pre-commit": "yarn lint",
"pre-push": "yarn test"
}
},
"jest": {
"testRegex": "(/test/.*|(\\.|/)(test|spec))\\.ts?$",
"preset": "ts-jest",
"testEnvironment": "node",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.ts",
"!**/node_modules/**",
"!**/vendor/**",
"!**/test/**"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
}
}