Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) 路 3.04 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) 路 3.04 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
95
{
"name": "js-lingui-workspaces",
"private": true,
"version": "6.0.0",
"type": "module",
"author": {
"name": "Tom谩拧 Ehrlich",
"email": "tomas.ehrlich@gmail.com"
},
"license": "MIT",
"scripts": {
"test": "vitest --run",
"test:ci": "vitest --run",
"test:ci:coverage": "vitest --run --coverage",
"test:e2e": "yarn workspaces foreach -p --all run test:e2e",
"test:types": "tstyche",
"test:all": "yarn test && yarn test:e2e && yarn test:types",
"lint:types": "yarn workspaces foreach -v --all run check-types",
"lint:eslint": "eslint ./packages --flag v10_config_lookup_from_file",
"lint:all": "yarn lint:eslint && yarn lint:types",
"prettier": "prettier --write '**/*.{ts,tsx,js,jsx}'",
"prettier:check": "prettier --check '**/*.{ts,tsx,js,jsx}'",
"verdaccio:release": "tsx ./scripts/verdaccio-release.ts",
"release:build": "yarn workspaces foreach --topological-dev --all run build",
"release:test": "yarn release:build && yarn test:all",
"version": "yarn install --no-immutable && git stage yarn.lock",
"version:next": "lerna version --exact --force-publish --no-private --preid next --create-release github --conventional-commits --conventional-prerelease --yes",
"version:latest": "lerna version --exact --force-publish --no-private --create-release github --conventional-commits --yes",
"release:latest": "lerna publish from-package --dist-tag latest --yes",
"release:next": "lerna publish from-package --canary --preid next --pre-dist-tag next --yes",
"build:docs": "cd website && yarn install && yarn build",
"size-limit": "size-limit",
"prepare": "husky install"
},
"engines": {
"node": ">=22.19.0"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
"@size-limit/preset-small-lib": "^11.1.6",
"@types/mock-fs": "^4.13.1",
"@types/node": "22.20.4",
"@vitest/coverage-v8": "catalog:",
"eslint": "^9.39.3",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"husky": "^8.0.3",
"lerna": "^10.0.1",
"lint-staged": "^13.1.0",
"mock-fs": "^5.2.0",
"npm-cli-login": "^0.1.1",
"ora": "^9.1.0",
"prettier": "3.9.9",
"size-limit": "^11.1.6",
"tstyche": "^7.0.0",
"tsx": "^4.21.0",
"typescript": "catalog:",
"typescript-eslint": "^8.56.1",
"vitest": "catalog:"
},
"workspaces": [
"packages/*",
"test/*"
],
"homepage": "https://lingui.dev",
"repository": {
"type": "git",
"url": "git+https://github.com/lingui/js-lingui.git"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"prettier --write --ignore-unknown",
"eslint --fix --no-warn-ignored"
]
},
"size-limit": [
{
"path": "./packages/core/dist/index.mjs",
"import": "{ i18n }",
"limit": "2.25 kB"
},
{
"path": "./packages/detect-locale/dist/index.mjs",
"limit": "1 kB"
},
{
"path": "./packages/react/dist/index.mjs",
"limit": "2 kB",
"ignore": [
"react"
]
}
],
"packageManager": "yarn@4.14.1"
}