mirror of
https://github.com/xuexb/github-bot.git
synced 2025-12-08 17:36:07 +00:00
* feat: use async/await * fix: fix github api bug * fix: fix auto release note bug * fix: auto release node commit message handle bug * fix: Notable changes list display bug * fix: Notable changes sub list display bug * feat: add eslint * feat: use husky to handle git hooks
73 lines
1.6 KiB
JSON
73 lines
1.6 KiB
JSON
{
|
|
"name": "github-bot",
|
|
"description": "Github bot",
|
|
"version": "0.0.1",
|
|
"main": "src/app.js",
|
|
"scripts": {
|
|
"start": "NODE_ENV=development node src/app",
|
|
"lint": "eslint src/**/* --quiet",
|
|
"precommit": "npm run lint",
|
|
"commitmsg": "validate-commit-msg"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/xuexb/github-bot.git"
|
|
},
|
|
"author": "xuexb <fe.xiaowu@gmail.com>",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/xuexb/github-bot/issues"
|
|
},
|
|
"homepage": "https://github.com/xuexb/github-bot#readme",
|
|
"dependencies": {
|
|
"cryptiles": "3.1.2",
|
|
"crypto": "^1.0.1",
|
|
"dotenv": "^4.0.0",
|
|
"github": "^11.0.0",
|
|
"koa": "^2.3.0",
|
|
"koa-bodyparser": "^4.2.0",
|
|
"require-dir": "^0.3.2",
|
|
"string-template": "^1.0.0"
|
|
},
|
|
"engines": {
|
|
"node": ">= 7.8.0"
|
|
},
|
|
"config": {
|
|
"validate-commit-msg": {
|
|
"types": [
|
|
"feat",
|
|
"fix",
|
|
"docs",
|
|
"style",
|
|
"test",
|
|
"chore",
|
|
"revert",
|
|
"close"
|
|
]
|
|
},
|
|
"github-bot": {
|
|
"labelToAuthor": {
|
|
"bug": "xuexb",
|
|
"enhancement": "xuexb",
|
|
"question": "xuexb"
|
|
}
|
|
}
|
|
},
|
|
"os": [
|
|
"darwin",
|
|
"linux"
|
|
],
|
|
"devDependencies": {
|
|
"eslint": "^4.9.0",
|
|
"eslint-config-standard": "^10.2.1",
|
|
"eslint-friendly-formatter": "^3.0.0",
|
|
"eslint-plugin-import": "^2.7.0",
|
|
"eslint-plugin-node": "^5.2.0",
|
|
"eslint-plugin-promise": "^3.6.0",
|
|
"eslint-plugin-standard": "^3.0.1",
|
|
"git-pull-or-clone": "xuexb/git-pull-or-clone",
|
|
"husky": "^0.14.3",
|
|
"validate-commit-msg": "^2.14.0"
|
|
}
|
|
}
|