-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
108 lines (108 loc) · 2.47 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
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
{
"name": "@betomorrow/i18n-typegen",
"version": "2.2.1",
"description": "Generate TS type for your translations keys and interpolation values",
"main": "dist/index.js",
"bin": "bin/i18n-typegen",
"scripts": {
"start": "ts-node src/index.ts",
"test": "jest",
"snapshot": "node test/test.js",
"build": "tsc -p . && cp ./src/templates/translations.mustache ./dist/templates/translations.mustache"
},
"repository": {
"type": "git",
"url": "git+https://github.com/BeTomorrow/i18n-typegen.git"
},
"keywords": [
"i18n",
"type",
"keys",
"interpolation"
],
"author": "Fabien Drault",
"license": "MIT",
"bugs": {
"url": "https://github.com/BeTomorrow/i18n-typegen/issues"
},
"homepage": "https://github.com/BeTomorrow/i18n-typegen#readme",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@release-it/conventional-changelog": "^8.0.1",
"@types/fs-extra": "^11.0.4",
"@types/jest": "^29.5.11",
"@types/mustache": "^4.2.5",
"@types/node": "^20.10.4",
"diff": "^5.2.0",
"jest": "^29.7.0",
"release-it": "^17.6.0",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"dependencies": {
"commander": "^11.1.0",
"fs-extra": "^11.2.0",
"mustache": "^4.2.0"
},
"files": [
"dist/",
"bin/"
],
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"bracketSameLine": true,
"printWidth": 100,
"semi": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"useTabs": false
},
"release-it": {
"hooks": {
"before:init": [
"npm run build",
"npm run test",
"npm run snapshot"
]
},
"git": {
"commitMessage": "chore: release ${version}",
"tagName": "v${version}"
},
"npm": {
"publish": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "conventionalcommits",
"types": [
{
"type": "feat",
"section": "✨ Features"
},
{
"type": "fix",
"section": "🐛 Bug Fixes"
},
{
"type": "chore(deps)",
"section": "🛠️ Dependency Upgrades"
},
{
"type": "docs",
"section": "📚 Documentation"
}
]
}
}
}
}
}