UNPKG

koa-json-success

Version:
50 lines (49 loc) 1.48 kB
{ "name": "koa-json-success", "version": "1.3.2", "description": "JSON API response format for KOA 2", "main": "index.js", "scripts": { "version:major": "npm version major", "version:minor": "npm version minor", "version:patch": "npm version patch", "postversion": "npm publish && npm run-script doc && git push && git push --tags", "test": "istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage", "mocha.test": "mocha test", "doc": "jsdoc2md --no-gfm index.js > api.md" }, "repository": { "type": "git", "url": "git+https://github.com/fabioricali/koa-json-success.git" }, "keywords": [ "koa2", "api", "response", "json", "restapi", "success-response" ], "author": "Fabio Ricali", "license": "MIT", "bugs": { "url": "https://github.com/fabioricali/koa-json-success/issues" }, "homepage": "https://github.com/fabioricali/koa-json-success#readme", "devDependencies": { "bejs": "^1.12.2", "coveralls": "^2.13.1", "istanbul": "^0.4.5", "jsdoc-to-markdown": "^3.0.0", "koa": "^2.3.0", "koa-router": "^7.2.1", "mocha": "^3.5.0", "mocha-lcov-reporter": "^1.3.0", "supertest": "^3.0.0" }, "dependencies": { "defaulty": "^1.2.1", "is-empty": "^1.2.0", "typis": "^1.1.1" } }