四好公路
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
1.7 KiB

3 years ago
{
"name": "koa2-swagger-ui",
"version": "5.6.0",
"description": "Swagger UI middleware for koa",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "ts-node test/example.ts",
"lint": "eslint --ext .ts,.js .",
"lint:fix": "eslint --ext .ts,.js --fix .",
"prepare": "npm run build",
"build": "del-cli dist && tsc -p tsconfig.build.json",
"postbuild": "cp lib/index.hbs dist && cp lib/favicon.png dist",
"test": "jest",
"test:watch": "jest --watch",
"test:ci": "jest --ci --coverage --no-cache"
},
"dependencies": {
"@types/koa": "^2.13.4",
"handlebars": "^4.7.7",
"lodash": "^4.17.21",
"read-pkg-up": "^7.0.1"
},
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "7.17.7",
"@babel/preset-typescript": "7.16.7",
"@ctrl/eslint-config": "3.3.1",
"@jest/globals": "27.5.1",
"@types/koa-router": "7.4.4",
"@types/lodash": "4.14.179",
"@types/node": "17.0.21",
"@types/supertest": "2.0.11",
"del-cli": "4.0.1",
"jest": "27.5.1",
"koa": "2.13.4",
"koa-router": "10.1.1",
"supertest": "6.2.2",
"swagger-ui-dist": "4.6.2",
"ts-node": "10.7.0",
"typescript": "4.6.2"
},
"release": {
"branch": "master"
},
"jest": {
"testEnvironment": "node"
},
"babel": {
"presets": [
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-transform-modules-commonjs"
]
},
"homepage": "https://github.com/scttcper/koa2-swagger-ui",
"repository": "scttcper/koa2-swagger-ui",
"keywords": [
"swagger",
"docs",
"swagger-ui",
"koa",
"koa2",
"middleware"
],
"license": "MIT"
}