-
Notifications
You must be signed in to change notification settings - Fork 28
/
package.json
92 lines (92 loc) · 2.49 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
{
"name": "swagger2-koa",
"version": "4.0.0",
"description": "Koa 2 middleware for loading, parsing and validating requests via swagger2",
"main": "dist/index.js",
"engines": {
"node": ">=16"
},
"repository": {
"type": "git",
"url": "git+https://github.com/carlansley/swagger2-koa.git"
},
"keywords": [
"swagger",
"swagger2",
"typescript",
"koa",
"koa2"
],
"author": "Carl Ansley",
"license": "MIT",
"bugs": {
"url": "https://github.com/carlansley/swagger2-koa/issues"
},
"homepage": "https://github.com/carlansley/swagger2-koa#readme",
"typings": "./dist/index.d.ts",
"prettier": "@checkdigit/prettier-config",
"dependencies": {
"@koa/cors": "^3.4.1",
"@koa/router": "^12.0.0",
"@types/koa-bodyparser": "^5.0.1",
"debug": "^4.3.4",
"koa": "^2.13.4",
"koa-bodyparser": "^4.3.0",
"swagger2": "^4.0.2"
},
"devDependencies": {
"@checkdigit/eslint-config": "^7.2.0",
"@checkdigit/prettier-config": "^3.0.0",
"@checkdigit/typescript-config": "^3.0.1",
"@types/debug": "4.1.7",
"@types/jest": "^28.1.7",
"@types/koa": "^2.13.5",
"@types/koa__cors": "^3.3.0",
"@types/koa__router": "^8.0.11",
"@types/koa-send": "^4.1.3",
"@types/supertest": "^2.0.12",
"jest": "^28.1.3",
"rimraf": "^3.0.2",
"supertest": "^6.2.4",
"ts-jest": "^28.0.8",
"ts-node": "^10.9.1"
},
"maintainers": [
{
"email": "[email protected]",
"name": "Carl Ansley"
}
],
"jest": {
"preset": "ts-jest",
"collectCoverageFrom": [
"<rootDir>/src/**",
"!<rootDir>/src/**/*.json",
"!<rootDir>/src/**/*.spec.ts",
"!<rootDir>/src/**/*.test.ts"
],
"globals": {
"ts-jest": {
"isolatedModules": true,
"diagnostics": false
}
},
"testMatch": [
"<rootDir>/src/**/*.spec.ts"
]
},
"scripts": {
"dist": "rimraf dist && tsc --outDir dist && rimraf dist/*.spec.*",
"prepublishOnly": "npm run dist && rimraf .github src .eslintrc .gitignore tsconfig.json",
"lint": "eslint -f unix src/**/*.ts",
"lint:fix": "eslint -f unix src/**/*.ts --fix",
"prettier": "prettier --list-different .",
"prettier:fix": "prettier --write .",
"test": "npm run ci:compile && npm run ci:test && npm run ci:lint && npm run ci:style",
"ci:compile": "tsc --noEmit",
"ci:test": "jest --coverage=false",
"ci:coverage": "jest --coverage=true",
"ci:lint": "npm run lint",
"ci:style": "npm run prettier"
}
}