forked from nelsongomes/ts-openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
104 lines (104 loc) · 2.6 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
{
"name": "ts-openapi",
"author": "Nelson Gomes <[email protected]>",
"license": "ISC",
"version": "1.1.0",
"description": "An openapi json generator based on joi information about APIs that will help you to maintain your API documentation up to date.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"keywords": [
"openapi",
"api",
"documenting",
"typescript"
],
"scripts": {
"test": "jest --verbose --runInBand",
"clean": "rm -rf lib coverage",
"prettier": "prettier --write '{.,{src,test}/**}/*.{js,jsx,ts,tsx,json,md}'",
"prettier:check": "prettier --check '{.,{src,test}/**}/*.{js,jsx,ts,tsx,json,md}'",
"tslint": "tslint -c ./tslint.json 'src/**/*.ts'",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage --runInBand",
"start": "'ts-node' src/index.ts",
"build": "rm -rf lib/ && tsc --pretty -p .",
"update": "ncu -u && npm i",
"release": "release-it",
"release-dry-run": "release-it --dry-run"
},
"dependencies": {
"axios": "0.21.4",
"joi": "17.3.0",
"lodash": "4.17.21",
"node-object-hash": "2.3.10"
},
"devDependencies": {
"@types/jest": "26.0.24",
"@types/lodash": "4.14.174",
"@types/node": "13.7.4",
"check-node-version": "4.0.3",
"husky": "4.3.8",
"jest": "26.6.3",
"lint-staged": "10.5.3",
"node-notifier": "8.0.1",
"prettier": "1.19.1",
"release-it": "14.12.4",
"ts-jest": "26.4.1",
"ts-node": "8.6.2",
"tslint": "6.0.0",
"tslint-config-prettier": "1.18.0",
"tslint-eslint-rules": "5.4.0",
"tslint-react": "4.2.0",
"typescript": "3.8"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nelsongomes/ts-openapi.git"
},
"engines": {
"node": ">=12",
"npm": ">=7"
},
"jest": {
"roots": [
"<rootDir>/test"
],
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.[tj]sx?$",
"collectCoverageFrom": [
"src/**/*.{js,jsx,ts,tsx}"
],
"coverageThreshold": {
"global": {
"functions": 50,
"lines": 50,
"statements": 50
}
},
"coverageDirectory": "test-coverage/",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
]
},
"husky": {
"hooks": {
"pre-commit": "check-node-version --node 12.21 && check-node-version --npm 7 && lint-staged && tsc --noEmit -p . && npm test"
}
},
"lint-staged": {
"*.{js,ts,css}": [
"prettier --write",
"tslint"
]
}
}