-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 3.44 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "@cumulusds/github-vulnerable-repos",
"version": "2.0.0",
"description": "Report repos with vulnerability alerts",
"repository": "https://github.com/CumulusDS/github-vulnerable-repos",
"author": "Cumulus Digital Systems",
"license": "MIT",
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=21.0.0"
},
"main": "lib/index.js",
"files": [
"lib/**"
],
"bin": {
"repos": "bin/repos.js"
},
"scripts": {
"build": "yarn build:babel && yarn build:flow-copy-source && yarn build:license-checker",
"build:babel": "rm -rf lib && babel src --out-dir lib --ignore test.js",
"build:flow-copy-source": "flow-copy-source --ignore test.js src lib",
"build:license-checker": "license-checker --csv --out var/licenses.csv",
"clean": "rm -rf lib",
"git:commit": "git add package.json && git commit -m v${npm_package_version}",
"git:push": "git push --follow-tags",
"git:tag": "git tag -a v${npm_package_version} -m v${npm_package_version}",
"publish:major": "yarn version major && yarn publish:sync",
"publish:minor": "yarn version minor && yarn publish:sync",
"publish:patch": "yarn version patch && yarn publish:sync",
"publish:sync": "yarn run git:commit && yarn run git:tag && yarn git:push",
"report": "yarn run report:mkdir && yarn repos --organization CumulusDS --report \"var/Vulnerability Reports/$(date +'%Y.%m.%d_%A_%H.%M.%S_%Z').pdf\"",
"report:mkdir": "mkdir -p \"var/Vulnerability Reports\"",
"repos": "yarn build:babel && bin/repos.js",
"test": "yarn test:flow:status && yarn test:lint && yarn test:prettier && yarn test:flow:coverage-report && yarn test:jest",
"test:flow:coverage-report": "flow-coverage-report -i 'src/**/*.js' -x 'test/**/*.js' -t html -t text --threshold 79 --output-dir var/coverage/flow",
"test:flow:status": "flow status",
"test:jest": "jest --color",
"test:lint": "eslint *.js src test",
"test:prettier": "prettier --list-different \"{src,test}/**/*.{js,jsx,yml}\" \"*.{js,yml}\""
},
"jest": {
"verbose": true,
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"testEnvironment": "node",
"coverageDirectory": "var/coverage/test",
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
},
"dependencies": {
"@octokit/graphql": "^4.5.3",
"chalk": "^4.1.0",
"minimist": "^1.2.8",
"pdfkit": "^0.14.0",
"pretty-ms": "^7.0.1"
},
"devDependencies": {
"@babel/cli": "^7.24.7",
"@babel/core": "^7.7.4",
"@babel/eslint-parser": "^7.23.10",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.7.4",
"@babel/plugin-syntax-flow": "^7.23.3",
"@babel/plugin-transform-react-jsx": "^7.23.4",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@cumulusds/flow-coverage-report": "^0.8.1",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^21.15.1",
"eslint-plugin-prettier": "^2.6.0",
"flow-bin": "^0.142.0",
"flow-copy-source": "^2.0.9",
"flow-typed": "^3.3.1",
"git-describe": "^4.0.4",
"jest": "^29.7.0",
"license-checker": "^25.0.1",
"prettier": "^1.14.0"
},
"packageManager": "[email protected]"
}