mirror of
https://github.com/zhigang1992/release-drafter.git
synced 2026-01-12 22:51:43 +08:00
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"name": "release-drafter-github-app",
|
|
"version": "4.0.0",
|
|
"description": "A GitHub app that bumps version numbers in readmes",
|
|
"author": "Tim Lucas <t@toolmantim.com> (https://github.com/toolmantim)",
|
|
"license": "ISC",
|
|
"repository": "toolmantim/release-drafter",
|
|
"scripts": {
|
|
"dev": "nodemon --exec \"npm start\"",
|
|
"start": "probot run ./index.js",
|
|
"now-start": "PRIVATE_KEY=$(echo $PRIVATE_KEY_BASE64 | base64 -d) npm start",
|
|
"test": "jest",
|
|
"test:watch": "jest --watch --notify --notifyMode=change --coverage",
|
|
"prettier": "prettier --write **/*.{js,md,json}",
|
|
"postversion": "npm run test && git push && git push --tags && npm publish && npm run deploy && npm run open-releases",
|
|
"open-releases": "open \"$(node -e 'console.log(`https://github.com/${require(\"./package.json\").repository}/releases`)')\"",
|
|
"deploy": "now && now alias"
|
|
},
|
|
"dependencies": {
|
|
"compare-versions": "3.4.0",
|
|
"probot": "7.5.0",
|
|
"probot-config": "1.0.0",
|
|
"request": "2.88.0",
|
|
"semver": "5.6.0"
|
|
},
|
|
"devDependencies": {
|
|
"husky": "1.3.1",
|
|
"jest": "23.6.0",
|
|
"lint-staged": "8.1.0",
|
|
"nock": "10.0.6",
|
|
"nodemon": "1.18.9",
|
|
"prettier": "1.15.3",
|
|
"smee-client": "1.0.2"
|
|
},
|
|
"engines": {
|
|
"node": ">= 8.3.0"
|
|
},
|
|
"jest": {
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"index.js",
|
|
"lib/**"
|
|
]
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,json,css,md}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|