-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 1.96 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 1.96 KB
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
{
"name": "gh-social-preview-generator",
"version": "1.0.0",
"type": "module",
"private": true,
"description": "Generate branded social preview images for CodingWithCalvin repositories",
"main": "./dist/index.js",
"bin": {
"social-preview": "./dist/index.js"
},
"scripts": {
"build": "tsc",
"start": "powershell -Command \"node dist/index.js generate-all CodingWithCalvin --upload --token $(gh auth token)\"",
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
"lint": "npx eslint src --ext .ts,.tsx",
"test": "npx jest --passWithNoTests",
"all": "npm run format:write && npm run lint && npm run test && npm run build"
},
"engines": {
"node": ">=21"
},
"repository": {
"type": "git",
"url": "git+https://github.com/CodingWithCalvin/GH-SocialPreviewGenerator"
},
"author": "Coding with Calvin",
"license": "MIT",
"dependencies": {
"@octokit/rest": "^21.0.0",
"@resvg/resvg-js": "^2.6.0",
"commander": "^12.1.0",
"puppeteer-core": "^24.34.0",
"satori": "^0.10.0"
},
"devDependencies": {
"@types/node": "^22.10.1",
"@types/react": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"eslint": "^8.0.1",
"eslint-plugin-jest": "^29.12.1",
"jest": "^29.7.0",
"prettier": "3.4.1",
"react": "^18.3.0",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
},
"jest": {
"preset": "ts-jest",
"verbose": true,
"clearMocks": true,
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"testMatch": [
"**/*.test.ts"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"coverageReporters": [
"json-summary",
"text",
"lcov"
],
"collectCoverage": true,
"collectCoverageFrom": [
"./src/**"
]
}
}