forked from coderabbitai/ai-pr-reviewer
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
61 lines (61 loc) · 2.1 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
{
"name": "openai-pr-reviewer",
"version": "1.0.0",
"private": true,
"description": "OpenAI-based PR Reviewer and Summarizer.",
"main": "lib/main.js",
"scripts": {
"build": "cp node_modules/@dqbd/tiktoken/tiktoken_bg.wasm dist/tiktoken_bg.wasm && tsc",
"package": "ncc build --license licenses.txt",
"act": "npm run build && npm run package && ./bin/act pull_request_target --secret-file .secrets",
"format": "prettier --write '**/*.ts'",
"format-check": "prettier --check '**/*.ts'",
"lint": "eslint src/**/*.ts",
"test": "jest",
"all": "npm run build && npm run format && npm run lint && npm run package && npm test",
"package-gitlab": "rm -rf ./dist && mkdir dist && cp -v node_modules/@dqbd/tiktoken/tiktoken_bg.wasm dist/tiktoken_bg.wasm && ncc build ./src/gitlab-main.ts -s --no-source-map-register -o dist && mv dist/index.js dist/index.cjs && tar -czvf ./dist/dist.tar.gz dist/*"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fluxninja/openai-pr-reviewer.git"
},
"keywords": [
"actions",
"node",
"setup"
],
"license": "MIT",
"dependencies": {
"@actions/core": "^1.10.0",
"@actions/github": "^5.1.1",
"@dqbd/tiktoken": "^1.0.7",
"@gitbeaker/rest": "^38.3.0",
"@octokit/action": "^5.0.2",
"@octokit/plugin-retry": "^4.1.3",
"@octokit/plugin-throttling": "^5.1.1",
"gitlab-ci-env": "^7.1.0",
"minimatch": "^9.0.0",
"node-fetch": "^3.3.1",
"p-limit": "^4.0.0",
"p-retry": "^5.1.2"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
"@types/node": "^18.16.3",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"@vercel/ncc": "^0.36.1",
"chatgpt": "^5.2.4",
"eslint": "^8.39.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-github": "^4.6.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"jest": "^27.2.5",
"prettier": "2.8.8",
"ts-jest": "^27.1.2",
"typescript": "^4.9.5"
}
}