-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.56 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.56 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
{
"name": "extract-react-intl-messages",
"version": "5.0.0",
"description": "Extract react-intl messages",
"license": "MIT",
"repository": "akameco/extract-react-intl-messages",
"type": "module",
"author": {
"name": "akameco",
"email": "akameco.t@gmail.com",
"url": "https://akameco.github.io"
},
"engines": {
"node": ">=20"
},
"main": "dist/index.js",
"scripts": {
"fmt": "prettier --write .",
"example": "./cli.js -l=en,ja -o example/i18n -d en 'example/**/*.{js,tsx}'",
"example:yaml": "./cli.js -l=en,ja -f=yaml -o example/i18n -d en 'example/**/*.{js,tsx}'",
"prepublish": "npm run build",
"build": "tsc",
"lint": "eslint src/**/*.ts --fix --cache",
"pretest": "node -e \"import('fs/promises').then(fs => fs.rm('.test-cache', {recursive: true, force: true})).catch(() => {})\"",
"test": "jest",
"posttest": "node -e \"import('fs/promises').then(fs => fs.rm('.test-cache', {recursive: true, force: true})).catch(() => {})\"",
"prepare": "husky"
},
"bin": {
"extract-messages": "dist/cli.js",
"extract-react-intl-messages": "dist/cli.js"
},
"files": [
"dist"
],
"keywords": [
"react",
"i18n",
"intl",
"react-intl",
"extract",
"json",
"messages"
],
"dependencies": {
"@babel/core": "^7.28.3",
"babel-plugin-react-intl": "^7.9.4",
"deepmerge": "^4.3.1",
"file-entry-cache": "^5.0.1",
"flat": "^5.0.2",
"glob": "11.0.3",
"js-yaml": "4.1.0",
"load-json-file": "^6.2.0",
"lodash.merge": "^4.6.2",
"meow": "13.2.0",
"read-babelrc-up": "^1.1.0",
"sort-keys": "^4.2.0",
"write-json-file": "^4.3.0"
},
"devDependencies": {
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.28.3",
"@babel/preset-flow": "^7.27.1",
"@babel/preset-react": "^7.27.1",
"@types/file-entry-cache": "^5.0.4",
"@types/flat": "^5.0.5",
"@types/js-yaml": "^3.12.10",
"@types/load-json-file": "^2.0.7",
"@types/lodash.merge": "^4.6.9",
"@types/node": "^24.3.0",
"@types/temp-write": "^4.0.0",
"@types/write-json-file": "^2.2.1",
"babel-plugin-react-intl-auto": "^3.3.0",
"eslint": "^9.34.0",
"husky": "9.1.7",
"jest": "^30.1.1",
"lint-staged": "16.1.5",
"prettier": "3.6.2",
"temp-write": "^4.0.0",
"tempy": "^0.5.0",
"ts-jest": "^29.4.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0"
},
"lint-staged": {
"*.ts": [
"prettier --write",
"eslint --fix"
],
"*.{js,json,md}": [
"prettier --write"
]
}
}