forked from ncalteen/branch-enforcement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.16 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
68
69
70
71
72
73
74
75
76
77
78
{
"name": "branch-enforcement",
"description": "Enforce pull requests being merged to specific branches",
"version": "1.0.1",
"author": "Nick Alteen <[email protected]>",
"homepage": "https://github.com/ncalteen/branch-enforcement",
"repository": {
"type": "git",
"url": "git+https://github.com/ncalteen/branch-enforcement.git"
},
"bugs": {
"url": "https://github.com/ncalteen/branch-enforcement/issues"
},
"keywords": [
"github",
"actions",
"branch"
],
"main": "dist/index.js",
"scripts": {
"bundle": "npm run format:write && npm run package",
"ci-test": "jest",
"format:write": "prettier --write src __tests__",
"format:check": "prettier --check src __tests__",
"lint": "eslint -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.ts",
"test": "(jest && make-coverage-badge --output-path ./badges/coverage.svg) || make-coverage-badge --output-path ./badges/coverage.svg",
"all": "npm run format:write && npm run lint && npm run test && npm run package"
},
"license": "MIT",
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
],
"coverageThreshold": {
"global": {
"lines": 100
}
},
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
]
},
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"lodash": "^4.17.21"
},
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/lodash": "^4.14.197",
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@vercel/ncc": "^0.36.1",
"dedent-js": "^1.0.1",
"eslint": "^8.47.0",
"eslint-plugin-github": "^4.9.2",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.6.2",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.0.1",
"prettier-eslint": "^15.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.1.6"
}
}