UNPKG

kcola

Version:

一个基于koa2,小而美的RESTful API+MVC的web开发框架!

111 lines 2.8 kB
{ "name": "kcola", "version": "1.2.0", "description": "一个基于koa2,小而美的RESTful API+MVC的web开发框架!", "main": "./core/index.js", "scripts": { "demo": "node ./example/app.js", "test": "nyc mocha ./test", "lint": "eslint .", "lint-fix": "npm run lint -- --fix", "pretest": "npm run lint" }, "author": "khadron <khadron@163.com> (http://khadron.com)", "license": "MIT", "repository": "Khadron/kcola", "keywords": [ "node", "node.js", "koa", "mvc", "cola", "kcola" ], "dependencies": { "@koa/router": "^8.0.0", "ejs": "^3.1.5", "is-generator-function": "^1.0.7", "koa": "^2.5.0", "koa-body": "^4.1.1", "koa-bodyparser": "^2.5.0", "koa-convert": "^1.2.0", "koa-generic-session": "^2.0.1", "koa-json": "^2.0.2", "koa-log": "^2.1.0", "koa-onerror": "^4.0.0", "koa-redis": "^4.0.0", "koa-sslify": "^4.0.3", "koa-static": "^5.0.0", "koa-views": "^6.2.0", "request": "^2.85.0", "sinon": "^9.0.3", "socket.io": "^2.1.1", "uuid": "^3.3.2", "ws": "^7.1.2", "xss": "^1.0.3" }, "devDependencies": { "babel-eslint": "^10.1.0", "chai": "^4.2.0", "cross-env": "^5.2.0", "eslint": "^6.8.0", "eslint-config-google": "^0.14.0", "mocha": "^8.1.3", "nodemon": "^1.17.2", "nyc": "^15.1.0" }, "eslintConfig": { "extends": [ "eslint:recommended", "google" ], "env": { "node": true, "es6": true }, "parser": "babel-eslint", "parserOptions": { "ecmaVersion": 6 }, "rules": { "max-len": [ 2, 120, 4, { "ignoreUrls": true } ], "no-console": 0 } }, "eslintIgnore": [ "node_modules" ], "engines": { "node": ">=11.0.0" }, "appConfig": { "route_meta_data": [ { "namespace": "monkey", "prefix": "api", "version": "v1" }, { "namespace": "elephant", "prefix": "cola", "upgrade": "ws" } ], "enable_spa_history_mode": false, "enable_https": false, "enable_websocket": true, "enable_load_middleware": true, "max_pool_size": 16, "certificate": { "certPath": null, "keyPath": null } } }