forked from i18next/i18next-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
86 lines (86 loc) · 2.42 KB
/
package.json
File metadata and controls
86 lines (86 loc) · 2.42 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
{
"name": "i18next-cli",
"version": "1.18.1",
"description": "A unified, high-performance i18next CLI.",
"type": "module",
"bin": {
"i18next-cli": "./dist/esm/cli.js"
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./types/index.d.ts",
"engines": {
"node": ">=22"
},
"exports": {
"./package.json": "./package.json",
".": {
"types": "./types/index.d.ts",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.js"
},
"./cjs": {
"types": "./types/index.d.ts",
"default": "./dist/cjs/index.js"
},
"./esm": {
"types": "./types/index.d.ts",
"default": "./dist/esm/index.js"
}
},
"scripts": {
"build": "npm run update-cli-meta && rm -rf dist && rollup -c && chmod +x dist/esm/cli.js && chmod +x dist/cjs/cli.js && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json && rm -rf types && tsc -d --declarationDir types --declarationMap --emitDeclarationOnly",
"lint": "eslint .",
"test": "npm run lint && vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"update-cli-meta": "node ./scripts/updateCliMeta.js",
"preversion": "npm run test && npm run build",
"postversion": "npm run build && git add . && git commit -m 'build' && git push && git push --tags"
},
"keywords": [
"i18next",
"swc",
"cli"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/i18next/i18next-cli.git"
},
"homepage": "https://github.com/i18next/i18next-cli",
"bugs": {
"url": "https://github.com/i18next/i18next-cli/issues"
},
"devDependencies": {
"@rollup/plugin-terser": "0.4.4",
"@types/inquirer": "9.0.9",
"@types/node": "24.9.2",
"@types/react": "19.2.2",
"@vitest/coverage-v8": "4.0.4",
"eslint": "9.38.0",
"eslint-plugin-import": "2.32.0",
"memfs": "4.50.0",
"neostandard": "0.12.2",
"rollup-plugin-typescript2": "0.36.0",
"ts-node": "10.9.2",
"typescript": "5.9.3",
"unplugin-swc": "1.5.8",
"vitest": "4.0.4"
},
"dependencies": {
"@swc/core": "1.13.19",
"chalk": "5.6.2",
"chokidar": "4.0.3",
"commander": "14.0.2",
"execa": "9.6.0",
"glob": "11.0.3",
"i18next-resources-for-ts": "1.7.4",
"inquirer": "12.10.0",
"jiti": "2.6.1",
"jsonc-parser": "3.3.1",
"minimatch": "10.1.1",
"ora": "9.0.0",
"swc-walk": "1.0.0"
}
}