2016-02-11 14:27:15 -05:00
|
|
|
{
|
2019-02-07 16:49:19 -08:00
|
|
|
"name": "koa-api-boilerplate",
|
2018-03-05 19:26:06 -08:00
|
|
|
"version": "3.0.0",
|
2019-02-07 16:49:19 -08:00
|
|
|
"description": "Koa2 boilerplate covering essentials for REST API and auth.",
|
2016-02-11 14:27:15 -05:00
|
|
|
"main": "index.js",
|
|
|
|
|
"scripts": {
|
2016-02-11 15:17:46 -05:00
|
|
|
"start": "node index.js",
|
2021-03-28 11:23:25 -07:00
|
|
|
"test": "npm run test:all",
|
2021-03-28 15:01:37 -07:00
|
|
|
"test:all": "export KOA_ENV=test && nyc --reporter=text mocha --exit --timeout 15000 test/unit/biz-logic/ test/unit/rest-api/ test/e2e/automated/",
|
2021-03-28 14:42:11 -07:00
|
|
|
"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/",
|
2020-02-12 10:42:02 -08:00
|
|
|
"lint": "standard --env mocha --fix",
|
2018-11-07 18:56:38 -08:00
|
|
|
"docs": "./node_modules/.bin/apidoc -i src/ -o docs",
|
2021-03-28 11:23:25 -07:00
|
|
|
"coverage": "nyc report --reporter=text-lcov | coveralls",
|
2021-03-28 14:42:11 -07:00
|
|
|
"coverage:report": "export KOA_ENV=test && nyc --reporter=html mocha --exit --timeout 15000 test/unit/biz-logic/ test/unit/rest-api/ test/e2e/automated/"
|
2016-02-11 14:27:15 -05:00
|
|
|
},
|
|
|
|
|
"keywords": [
|
2019-02-07 16:49:19 -08:00
|
|
|
"koa-api-boilerplate",
|
2016-02-17 19:27:53 -05:00
|
|
|
"api",
|
2016-02-11 14:27:15 -05:00
|
|
|
"koa",
|
|
|
|
|
"koa2",
|
|
|
|
|
"boilerplate",
|
|
|
|
|
"es6",
|
|
|
|
|
"mongoose",
|
2016-08-30 15:47:03 -04:00
|
|
|
"passportjs",
|
|
|
|
|
"apidoc"
|
2016-02-11 14:27:15 -05:00
|
|
|
],
|
2018-03-05 19:26:06 -08:00
|
|
|
"author": "Chris Troutner <chris.troutner@gmail.com>",
|
2016-02-11 14:50:53 -05:00
|
|
|
"license": "MIT",
|
2016-03-04 21:04:14 -05:00
|
|
|
"apidoc": {
|
2019-02-07 16:49:19 -08:00
|
|
|
"title": "koa-api-boilerplate",
|
2016-03-04 22:25:44 -05:00
|
|
|
"url": "localhost:5000"
|
2016-03-04 21:04:14 -05:00
|
|
|
},
|
2019-02-07 16:49:19 -08:00
|
|
|
"repository": "christroutner/koa-api-boilerplate",
|
2016-02-11 14:50:53 -05:00
|
|
|
"dependencies": {
|
2021-01-05 18:43:30 +00:00
|
|
|
"axios": "^0.21.1",
|
2018-10-16 11:06:39 -07:00
|
|
|
"bcryptjs": "^2.4.3",
|
2021-02-04 15:38:39 -08:00
|
|
|
"glob": "^7.1.6",
|
|
|
|
|
"jsonwebtoken": "^8.5.1",
|
|
|
|
|
"kcors": "^2.2.2",
|
2021-02-04 16:04:14 -08:00
|
|
|
"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",
|
2018-11-08 04:42:49 +00:00
|
|
|
"koa-mount": "^4.0.0",
|
2020-11-05 19:33:15 -08:00
|
|
|
"koa-passport": "^4.1.3",
|
2021-02-04 16:04:14 -08:00
|
|
|
"koa-router": "^10.0.0",
|
2018-11-08 04:42:49 +00:00
|
|
|
"koa-static": "^5.0.0",
|
2020-01-15 21:28:13 -08:00
|
|
|
"line-reader": "^0.4.0",
|
2021-02-04 15:32:12 -08:00
|
|
|
"mongoose": "^5.11.15",
|
|
|
|
|
"nodemailer": "^6.4.17",
|
2018-03-24 10:52:38 -07:00
|
|
|
"passport-local": "^1.0.0",
|
2021-02-04 15:32:12 -08:00
|
|
|
"winston": "^3.3.3",
|
|
|
|
|
"winston-daily-rotate-file": "^4.5.0"
|
2016-02-11 15:17:12 -05:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2021-02-04 15:32:12 -08:00
|
|
|
"apidoc": "^0.26.0",
|
|
|
|
|
"chai": "^4.3.0",
|
|
|
|
|
"coveralls": "^3.1.0",
|
2021-02-04 15:59:05 -08:00
|
|
|
"eslint": "7.19.0",
|
2021-02-04 16:01:46 -08:00
|
|
|
"eslint-config-prettier": "^7.2.0",
|
|
|
|
|
"eslint-config-standard": "^16.0.2",
|
2020-03-28 11:49:48 +00:00
|
|
|
"eslint-plugin-node": "^11.1.0",
|
2021-02-04 16:01:46 -08:00
|
|
|
"eslint-plugin-prettier": "^3.3.1",
|
2018-11-08 04:42:49 +00:00
|
|
|
"eslint-plugin-standard": "^4.0.0",
|
2021-02-04 15:32:12 -08:00
|
|
|
"husky": "^4.3.8",
|
|
|
|
|
"mocha": "^8.2.1",
|
|
|
|
|
"nyc": "^15.1.0",
|
2021-03-31 07:19:32 -07:00
|
|
|
"semantic-release": "^17.4.2",
|
2021-02-04 15:32:12 -08:00
|
|
|
"sinon": "^9.2.4",
|
|
|
|
|
"standard": "^16.0.3"
|
2018-11-07 18:56:38 -08:00
|
|
|
},
|
|
|
|
|
"release": {
|
|
|
|
|
"publish": [
|
|
|
|
|
{
|
|
|
|
|
"path": "@semantic-release/npm",
|
|
|
|
|
"npmPublish": false
|
|
|
|
|
}
|
|
|
|
|
]
|
2020-07-30 08:05:11 -07:00
|
|
|
},
|
|
|
|
|
"husky": {
|
|
|
|
|
"hooks": {
|
|
|
|
|
"pre-commit": "npm run lint"
|
|
|
|
|
}
|
2016-02-11 14:50:53 -05:00
|
|
|
}
|
2016-02-11 14:27:15 -05:00
|
|
|
}
|