generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 46
/
package.json
67 lines (67 loc) · 1.95 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
{
"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",
"@octokit/rest": "^20.1.0",
"dedent-js": "^1.0.1",
"github-username-regex-js": "^1.0.0",
"nunjucks": "^3.2.4",
"yargs-parser": "^21.1.1"
},
"jest": {
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
],
"coverageThreshold": {
"global": {
"lines": 100,
"statements": 100,
"branches": 100,
"functions": 100
}
}
},
"devDependencies": {
"@babel/core": "^7.26.0",
"@babel/plugin-transform-modules-commonjs": "^7.25.9",
"@types/node": "^22.9.1",
"@vercel/ncc": "^0.38.3",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"js-yaml": "^4.1.0",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.3.3"
}
}