-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
80 lines (80 loc) · 2.09 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
{
"name": "openai-translation-updater",
"version": "1.2.1",
"description": "Automatically update translation files on commit using OpenAI.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"test:unit": "jest",
"test:unit:watch": "jest --watch",
"test:unit:coverage": "jest --coverage",
"test:updateTranslationFilesOnCommit": "ts-node ./__test__/updateTranslationFileOnCommit.ts",
"test:updateTranslationFiles": "ts-node ./__test__/updateTranslationFiles.ts",
"build": "tsc",
"publish": "npm run build && npm publish",
"format": "prettier --check ./src",
"format:fix": "prettier --write ./src",
"lint": "eslint ./src",
"lint:fix": "eslint --fix ./src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Favot/openai-translation-updater.git"
},
"keywords": [
"openai",
"translation",
"internationalization",
"commit-hook",
"automation"
],
"author": "Favot",
"license": "MIT",
"bugs": {
"url": "https://github.com/Favot/openai-translation-updater/issues"
},
"homepage": "https://github.com/Favot/openai-translation-updater#readme",
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/mock-fs": "^4.13.2",
"@types/node": "^20.8.0",
"@types/shelljs": "^0.8.13",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"eslint": "^8.50.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.1",
"mock-fs": "^5.2.0",
"prettier": "^3.2.5",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"dependencies": {
"@octokit/rest": "^20.0.2",
"dotenv": "^16.3.1",
"fs": "^0.0.1-security",
"openai": "^4.10.0",
"path": "^0.12.7",
"shelljs": "^0.8.5",
"simple-git": "^3.22.0",
"ts-node": "^10.9.1"
},
"engines": {
"node": ">=14.0.0",
"npm": ">=6.0.0"
},
"lint-staged": {
"src/**/*.ts": [
"eslint --ext .ts ./src --fix"
],
"./src/**": [
"prettier --write ."
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}