{ "name": "koa-api-boilerplate", "version": "3.0.0", "description": "Koa2 boilerplate covering essentials for REST API and auth.", "main": "index.js", "scripts": { "start": "node index.js", "test": "npm run test:all", "test:all": "export KOA_ENV=test && nyc --reporter=text mocha --exit --timeout 15000 test/unit/biz-logic/ test/unit/rest-api/ test/e2e/automated/", "test:unit:lib": "export KOA_ENV=test && mocha --exit --timeout 15000 test/unit/biz-logic/", "test:unit:rest": "export KOA_ENV=test && mocha --exit --timeout 15000 test/unit/rest-api/", "test:e2e:auto": "export KOA_ENV=test && mocha --exit --timeout 15000 test/e2e/automated/", "lint": "standard --env mocha --fix", "docs": "./node_modules/.bin/apidoc -i src/ -o docs", "coverage": "nyc report --reporter=text-lcov | coveralls", "coverage:report": "export KOA_ENV=test && nyc --reporter=html mocha --exit --timeout 15000 test/unit/biz-logic/ test/unit/rest-api/ test/e2e/automated/" }, "keywords": [ "koa-api-boilerplate", "api", "koa", "koa2", "boilerplate", "es6", "mongoose", "passportjs", "apidoc" ], "author": "Chris Troutner ", "license": "MIT", "apidoc": { "title": "koa-api-boilerplate", "url": "localhost:5000" }, "repository": "christroutner/koa-api-boilerplate", "dependencies": { "axios": "^0.21.1", "bcryptjs": "^2.4.3", "glob": "^7.1.6", "jsonwebtoken": "^8.5.1", "kcors": "^2.2.2", "koa": "^2.13.1", "koa-bodyparser": "^4.3.0", "koa-convert": "^2.0.0", "koa-generic-session": "^2.1.1", "koa-logger": "^3.2.1", "koa-mount": "^4.0.0", "koa-passport": "^4.1.3", "koa-router": "^10.0.0", "koa-static": "^5.0.0", "line-reader": "^0.4.0", "mongoose": "^5.11.15", "nodemailer": "^6.4.17", "passport-local": "^1.0.0", "winston": "^3.3.3", "winston-daily-rotate-file": "^4.5.0" }, "devDependencies": { "apidoc": "^0.26.0", "chai": "^4.3.0", "coveralls": "^3.1.0", "eslint": "7.19.0", "eslint-config-prettier": "^7.2.0", "eslint-config-standard": "^16.0.2", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^3.3.1", "eslint-plugin-standard": "^4.0.0", "husky": "^4.3.8", "mocha": "^8.2.1", "nyc": "^15.1.0", "semantic-release": "^17.4.2", "sinon": "^9.2.4", "standard": "^16.0.3" }, "release": { "publish": [ { "path": "@semantic-release/npm", "npmPublish": false } ] }, "husky": { "hooks": { "pre-commit": "npm run lint" } } }