67 строки
1.9 KiB
JSON
67 строки
1.9 KiB
JSON
{
|
|
"description": "Enabling Branch Deployments through IssueOps with GitHub Actions",
|
|
"main": "lib/main.js",
|
|
"scripts": {
|
|
"format": "prettier --write '**/*.js'",
|
|
"format-check": "prettier --check '**/*.js'",
|
|
"lint": "eslint src/**/*.js",
|
|
"package": "ncc build src/main.js -o dist --source-map --license licenses.txt",
|
|
"test": "(BRANCH_DEPLOY_JEST_TEST=true jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
|
|
"ci-test": "BRANCH_DEPLOY_JEST_TEST=true jest",
|
|
"all": "npm run format && npm run lint && npm run package",
|
|
"bundle": "npm run format && npm run package",
|
|
"act": "npm run format && npm run package && act issue_comment -e events/issue_comment_deploy.json -s GITHUB_TOKEN=faketoken -j test"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/github/branch-deploy.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"issueops",
|
|
"deployment",
|
|
"github"
|
|
],
|
|
"author": "Grant Birkinbine",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.10.1",
|
|
"@actions/github": "^6.0.0",
|
|
"@octokit/plugin-retry": "^6.0.1",
|
|
"dedent-js": "^1.0.1",
|
|
"github-username-regex-js": "^1.0.0",
|
|
"nunjucks": "^3.2.4",
|
|
"@octokit/rest": "^20.1.0"
|
|
},
|
|
"jest": {
|
|
"coverageReporters": [
|
|
"json-summary",
|
|
"text",
|
|
"lcov"
|
|
],
|
|
"collectCoverage": true,
|
|
"collectCoverageFrom": [
|
|
"./src/**"
|
|
],
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"lines": 100,
|
|
"statements": 100,
|
|
"branches": 100,
|
|
"functions": 100
|
|
}
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-transform-modules-commonjs": "^7.24.8",
|
|
"@types/node": "^22.7.4",
|
|
"@vercel/ncc": "^0.38.1",
|
|
"@babel/core": "^7.25.2",
|
|
"eslint": "^8.57.0",
|
|
"jest": "^29.7.0",
|
|
"js-yaml": "^4.1.0",
|
|
"make-coverage-badge": "^1.2.0",
|
|
"prettier": "^3.3.3"
|
|
}
|
|
}
|