-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
76 lines (76 loc) · 1.84 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
{
"name": "i18next-hmr",
"version": "3.1.3",
"description": "I18Next HMR🔥 webpack / vite plugin that allows reload translation resources instantly on the client & the server.",
"keywords": [
"i18next",
"HMR",
"webpack",
"vite",
"plugin"
],
"homepage": "https://github.com/felixmosh/i18next-hmr",
"bugs": "https://github.com/felixmosh/i18next-hmr/issues",
"repository": {
"type": "git",
"url": "https://github.com/felixmosh/i18next-hmr"
},
"license": "MIT",
"author": "felixmosh",
"exports": {
"./plugin": "./lib/plugin.js",
"./webpack": "./lib/webpack/plugin.js",
"./vite": "./lib/vite/plugin.js"
},
"typesVersions": {
"*": {
"plugin": [
"./lib/plugin.d.ts"
],
"webpack": [
"./lib/webpack/plugin.d.ts"
],
"vite": [
"./lib/vite/plugin.d.ts"
]
}
},
"scripts": {
"test": "jest",
"version": "auto-changelog -p && git add CHANGELOG.md",
"release": "release-it --only-version"
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/__tests__/**/*.spec.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/dist/"
],
"transform": {
"(client|server)-hmr\\.js": "<rootDir>/__tests__/utils/preprocessor.js"
}
},
"devDependencies": {
"@types/jest": "^28.1.6",
"@types/node": "^18.0.6",
"auto-changelog": "^2.4.0",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"release-it": "^16.1.5"
},
"release-it": {
"git": {
"changelog": "npx auto-changelog --stdout --commit-limit false -u --template https://raw.githubusercontent.com/release-it/release-it/master/templates/changelog-compact.hbs"
},
"hooks": {
"before:init": "yarn test",
"after:bump": "npx auto-changelog -p"
},
"github": {
"release": true
}
}
}