generated from CIFriends/typescript-action-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
82 lines (82 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
76
77
78
79
80
81
82
{
"name": "gitroll-action",
"version": "1.0.0",
"description": "A GitHub Action that executes a GitRoll scan on a specified GitHub user's profile",
"main": "index.js",
"scripts": {
"clean": "rimraf dist pnpm-lock.yaml node_modules",
"preinstall": "npx only-allow pnpm",
"bundle": "pnpm run format:write && pnpm run package",
"ci-test": "pnpm jest",
"format:write": "prettier --cache --write .",
"format:check": "prettier --check .",
"lint": "eslint --cache --cache-strategy content --report-unused-disable-directives .",
"package": "pnpm ncc build src/index.ts -o dist --source-map --license licenses.txt",
"package:watch": "pnpm run package --watch",
"test": "pnpm jest --coverage --verbose",
"dev": "ts-node src/main.ts",
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build",
"preflight": "pnpm install && pnpm run format:write && pnpm run lint && pnpm run test && pnpm run package"
},
"keywords": [
"gitroll",
"github",
"action",
"scan",
"profile"
],
"author": "Breno A.",
"license": "Apache-2.0",
"packageManager": "[email protected]",
"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/core": "^1.10.1",
"@actions/github": "^6.0.0",
"axios": "1.7.2",
"puppeteer": "22.11.0"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"@types/node": "20.14.2",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@vercel/ncc": "^0.38.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"prettier": "^3.3.1",
"rimraf": "5.0.7",
"ts-jest": "^29.1.4",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}