-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
130 lines (130 loc) · 4.05 KB
/
package.json
File metadata and controls
130 lines (130 loc) · 4.05 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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
{
"name": "pullcraft",
"version": "0.0.0-releaseit",
"description": "A CLI tool to create pull requests on GitHub by comparing branches and using OpenAI to generate PR text.",
"main": "src",
"types": "src/",
"directories": {
"lib": "dist/src",
"bin": "dist/bin"
},
"type": "module",
"scripts": {
"mocha": "mocha --config .mocharc.json",
"mocha:dev": "mocha --config .mocharc.json --watch",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "rm -rf ./dist/cjs && tsc -p tsconfig.cjs.json",
"build:esm": "rm -rf ./dist/esm && tsc -p tsconfig.esm.json && chmod +x ./dist/esm/bin/pullcraft.js",
"build:bundle": "rm -f ./build/bundle.js && node ./build/scripts/build.bundle.js --entryPoint ./dist/esm/bin/pullcraft.js",
"build:sea": "node ./build/scripts/build.sea.js --binaryName pullcraft",
"test": "printf '\\33c\\e[3J' && npm run lint; npm run mocha;",
"test:dev": "echo '\\033c' && npm run lint; npm run mocha:dev",
"test:sea": "npm run build && npm run build:bundle && npm run build:sea && mocha --spec \"./build/scripts/build.test.js\" --no-config --require ts-node/register",
"release": "release-it --dry-run --ci --config .release-it.cjs",
"coverage": "c8 --check-coverage --lines 90 --functions 90 --branches 80 npm run test",
"inject-version": "node build/scripts/version.js --filePath src/bin/pullcraft.ts",
"package": "npm run build && npm run build:bundle && npm run build:sea"
},
"bin": {
"pullcraft": "./dist/esm/bin/pullcraft.js"
},
"files":[
"dist/**/*"
],
"pkg": {
"scripts": "dist/**/*.js",
"assets": [
"dist/**/*",
"!dist/**/*.ts",
"!dist/test/**/*"
],
"targets": [
"node20-macos-x64",
"node20-linux-x64",
"node20-win-x64"
],
"outputPath": "build"
},
"devDependencies": {
"@babel/register": "^7.25.9",
"@eslint/js": "^9.19.0",
"@release-it/conventional-changelog": "^10.0.0",
"@types/chai": "^5.0.1",
"@types/chai-as-promised": "^8.0.1",
"@types/eslint__js": "^8.42.3",
"@types/mocha": "^10.0.10",
"@types/node": "^22.13.0",
"@types/sinon": "^17.0.3",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"@typescript-eslint/typescript-estree": "^8.22.0",
"c8": "^10.1.3",
"chai": "^5.1.2",
"chai-as-promised": "^8.0.1",
"conventional-changelog-angular": "^8.0.0",
"esbuild": "^0.24.2",
"eslint": "^8.57.1",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.31.0",
"mocha": "^11.1.0",
"nexe": "^3.3.7",
"nock": "^14.0.0",
"postject": "^1.0.0-alpha.6",
"prettier": "^3.4.2",
"proxyquire": "^2.1.3",
"release-it": "^18.1.2",
"rimraf": "^6.0.1",
"shx": "^0.3.4",
"sinon": "^19.0.2",
"source-map-support": "^0.5.21",
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
},
"overrides": {
"inflight": "^2.0.0",
"glob": "^10.4.5",
"rimraf": "^6.0.1",
"@humanwhocodes/config-array": "npm:@eslint/config-array@latest",
"@humanwhocodes/object-schema": "npm:@eslint/object-schema@latest"
},
"dependencies": {
"@octokit/rest": "^21.1.0",
"commander": "^13.1.0",
"cosmiconfig": "^9.0.0",
"dotenv": "^16.4.7",
"openai": "^4.82.0",
"simple-git": "^3.27.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/jamesvillarrubia/pullcraft.git"
},
"keywords": [
"pull requests",
"github",
"automation",
"prs",
"ai"
],
"author": {
"name": "James Villarrubia",
"email": "james.villarrubia@gmail.com"
},
"contributors": [
{
"name": "James Villarrubia",
"email": "james.villarrubia@gmail.com"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/jamesvillarrubia/pullcraft/issues"
},
"homepage": "https://github.com/jamesvillarrubia/pullcraft#readme",
"engines": {
"node": ">=18.0.0"
}
}