mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"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": "export KOA_ENV=test && npm run prep-test && nyc --reporter=text --timeout 15000 ./node_modules/.bin/mocha --exit",
|
|
"lint": "standard --env mocha --fix",
|
|
"docs": "./node_modules/.bin/apidoc -i src/ -o docs",
|
|
"coverage": "export KOA_ENV=test && npm run prep-test && nyc report --reporter=text-lcov | coveralls",
|
|
"coverage:report": "export KOA_ENV=test && npm run prep-test && nyc --reporter=html mocha --exit",
|
|
"prep-test": "node util/users/delete-all-test-users.js"
|
|
},
|
|
"keywords": [
|
|
"koa-api-boilerplate",
|
|
"api",
|
|
"koa",
|
|
"koa2",
|
|
"boilerplate",
|
|
"es6",
|
|
"mongoose",
|
|
"passportjs",
|
|
"apidoc"
|
|
],
|
|
"author": "Chris Troutner <chris.troutner@gmail.com>",
|
|
"license": "MIT",
|
|
"apidoc": {
|
|
"title": "koa-api-boilerplate",
|
|
"url": "localhost:5000"
|
|
},
|
|
"repository": "christroutner/koa-api-boilerplate",
|
|
"dependencies": {
|
|
"apidoc": "^0.23.0",
|
|
"axios": "^0.19.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"glob": "^7.0.0",
|
|
"jsonwebtoken": "^8.3.0",
|
|
"kcors": "^2.2.1",
|
|
"koa": "^2.5.0",
|
|
"koa-bodyparser": "^4.2.0",
|
|
"koa-convert": "^1.2.0",
|
|
"koa-generic-session": "^2.0.1",
|
|
"koa-logger": "^3.1.0",
|
|
"koa-mount": "^4.0.0",
|
|
"koa-passport": "^4.1.3",
|
|
"koa-router": "^9.0.1",
|
|
"koa-static": "^5.0.0",
|
|
"line-reader": "^0.4.0",
|
|
"mongoose": "^5.10.15",
|
|
"nodemailer": "^6.4.10",
|
|
"passport-local": "^1.0.0",
|
|
"winston": "^3.2.1",
|
|
"winston-daily-rotate-file": "^4.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"chai": "^4.1.2",
|
|
"coveralls": "^3.0.2",
|
|
"eslint": "5.16.0",
|
|
"eslint-config-prettier": "^6.0.0",
|
|
"eslint-config-standard": "^14.1.0",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-prettier": "^3.1.0",
|
|
"eslint-plugin-standard": "^4.0.0",
|
|
"husky": "^4.2.5",
|
|
"mocha": "^7.0.1",
|
|
"nyc": "^15.0.0",
|
|
"semantic-release": "^17.0.0",
|
|
"sinon": "^9.2.1",
|
|
"standard": "^14.3.1"
|
|
},
|
|
"release": {
|
|
"publish": [
|
|
{
|
|
"path": "@semantic-release/npm",
|
|
"npmPublish": false
|
|
}
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint"
|
|
}
|
|
}
|
|
}
|