generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
96 lines (96 loc) · 2.72 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
94
95
96
{
"name": "sizeup-action",
"description": "Encourage digestible pull requests",
"version": "0.8.10",
"author": "Ọlálérè Williams",
"private": true,
"homepage": "https://github.com/lerbear/sizeup-action",
"repository": {
"type": "git",
"url": "git+https://github.com/lerbear/sizeup-action.git"
},
"bugs": {
"url": "https://github.com/lerbear/sizeup-action/issues"
},
"keywords": [
"actions"
],
"exports": {
".": "./dist/index.js"
},
"engines": {
"node": ">=20"
},
"scripts": {
"bundle": "npm run format:write && npm run package && npm run package:assets",
"ci-test": "jest",
"format:write": "prettier --write **/*.ts",
"format:check": "prettier --check **/*.ts",
"generate:config": "npx json2ts --maxItems=-1 --additionalProperties=false src/config/schema.json src/configuration.ts",
"lint": "npx eslint . -c ./.github/linters/.eslintrc.yml",
"package": "ncc build src/index.ts --license licenses.txt",
"package:assets": "mkdir -p dist/config && cp -r src/config dist",
"package:watch": "npm run package -- --watch",
"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 && npm run package:assets"
},
"license": "MIT",
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.ts$": "ts-jest"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
},
"dependencies": {
"@actions/artifact": "^2.1.7",
"@actions/core": "^1.10.1",
"@actions/github": "^5.1.1",
"@octokit/webhooks": "^12.0.3",
"simple-git": "^3.21.0",
"sizeup-core": "^0.5.8",
"yaml": "^2.3.2"
},
"devDependencies": {
"@types/jest": "^29.5.4",
"@types/node": "^20.6.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"@vercel/ncc": "^0.38.0",
"eslint": "^8.49.0",
"eslint-plugin-github": "^4.10.0",
"eslint-plugin-jest": "^27.2.3",
"eslint-plugin-jsonc": "^2.9.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.7.0",
"js-yaml": "^4.1.0",
"json-schema-to-typescript": "^13.1.2",
"make-coverage-badge": "^1.2.0",
"prettier": "^3.0.3",
"prettier-eslint": "^15.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
}
}