-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
executable file
·75 lines (75 loc) · 2.31 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": "github-actions-workflow-ts",
"version": "1.0.1",
"author": "Emmanuel N Kyeyune",
"description": "Generate GitHub Actions workflow files using TypeScript (compiles to YAML)",
"repository": "https://github.com/emmanuelnk/github-actions-workflow-ts",
"main": "build/index",
"types": "build/index",
"files": [
"build"
],
"license": "MIT",
"scripts": {
"tsc": "tsc",
"watch": "tsc --watch",
"test": "jest --coverage",
"link": "yarn link",
"build": "pnpm run clean && pnpm run compile",
"clean": "rm -rf ./build",
"compile": "tsc -p tsconfig.build.json",
"generate-workflow-types": "ts-node scripts/generateWorkflowTypes.ts && pnpm exec eslint --fix src/lib/types/githubActionsWorkflow.ts && pnpm run lint:prettier:generate-workflow-types",
"generate-workflow-files": "node build/cli/bin.js build",
"lint:prettier:generate-workflow-types": "pnpm dlx prettier --config .prettierrc.json --write src/lib/types/githubActionsWorkflow.ts",
"generate-zero-dependency-package": "ts-node scripts/generateZeroDependencyPackage.ts",
"gwf": "node build/cli/bin.js",
"prepare": "husky install"
},
"bin": {
"generate-workflow-files": "./build/cli/bin.js",
"gwf": "./build/cli/bin.js"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"pnpm dlx prettier --config .prettierrc.json --write"
]
},
"dependencies": {
"fast-glob": "^3.3.2",
"js-yaml": "^4.1.0",
"ts-node": "^10.9.2",
"yargs": "^17.7.2"
},
"devDependencies": {
"@commitlint/cli": "^17.8.1",
"@commitlint/config-conventional": "^17.8.1",
"@types/jest": "^28.1.8",
"@types/js-yaml": "^4.0.9",
"@types/node-fetch": "^2.6.11",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.8.3",
"eslint-plugin-prettier": "^5.2.1",
"husky": "^8.0.3",
"jest": "^28.1.3",
"json-schema-to-typescript": "^15.0.2",
"lint-staged": "^14.0.1",
"node-fetch": "^2.7.0",
"prettier": "3.0.2",
"ts-jest": "^28.0.8",
"typescript": "^4.9.5"
},
"pnpm": {
"overrides": {
"micromatch@<4.0.8": ">=4.0.8"
}
}
}