-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 2.22 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
{
"name": "sdv-approval-bot",
"version": "1.0.0",
"author": "Mark Lawrence <15652599+Mark-J-Lawrence@users.noreply.github.com>",
"license": "EPL-2.0",
"homepage": "https://github.com/cicsdev/cics-security-sdv-samples",
"scripts": {
"postinstall": "per-env",
"postinstall:development": "husky install",
"postinstall:staging": "",
"postinstall:production": "",
"clean": "rm -rf ./coverage",
"lint-bot": "eslint ./lib",
"lint-docs": "cd docs && npm run lint",
"lint-ansible": "ansible-lint ./ansible-sdv-pipeline/*",
"lint-flake8-python": "flake8 ./ansible-sdv-pipeline/",
"lint-pylint": "pylint ./ansible-sdv-pipeline --fail-under 5 --fail-on F,E,W,C,R",
"lint-all": "git config --global --add safe.directory /workspace/git-workspace; commitlint -V --from=HEAD~1 && npm run lint-bot && npm run lint-ansible && npm run lint-flake8-python && npm run lint-pylint && npm run lint-docs",
"pretest": "npm run clean && npm run lint-bot",
"start": "probot run ./lib/app.js",
"test": "jest --coverage",
"unit-test": "jest --coverage",
"pre-commit": "npm run lint-all"
},
"dependencies": {
"@octokit/rest": "20.0.2",
"express": "4.21.1",
"octokit-auth-probot": "2.0.0",
"per-env": "1.0.2",
"probot": "13.2.0"
},
"devDependencies": {
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@eslint/js": "^9.9.0",
"@types/jest": "29.5.11",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-jest": "27.6.0",
"eslint-plugin-react": "^7.35.0",
"globals": "^15.9.0",
"husky": "8.0.3",
"jest": "29.7.0",
"nock": "13.5.4",
"node-fetch": "2.7.0",
"pino": "8.17.0",
"typescript-eslint": "^8.1.0"
},
"engines": {
"node": ">= 18.17.0"
},
"jest": {
"verbose": true,
"testEnvironment": "node",
"setupFiles": [
"<rootDir>/.jest/setEnvVars.js"
],
"collectCoverageFrom": [
"lib/**/*.js",
"!**/node_modules/**"
],
"coverageThreshold": {
"global": {
"branches": 85,
"functions": 98,
"lines": 89
}
},
"coverageReporters": [
"html",
"text"
]
}
}