-
Notifications
You must be signed in to change notification settings - Fork 382
/
package.json
121 lines (121 loc) · 3.94 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
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "js-lingui-workspaces",
"private": true,
"version": "4.0.0",
"author": {
"name": "Tomáš Ehrlich",
"email": "[email protected]"
},
"license": "MIT",
"scripts": {
"test": "jest",
"test:ci": "jest --ci --runInBand",
"test:ci:coverage": "yarn test:ci --coverage",
"test:integration": "yarn node --experimental-vm-modules $(yarn bin jest) -c jest.config.integration.js",
"test:e2e": "yarn workspaces foreach -p run test:e2e",
"test:tsd": "jest -c jest.config.types.js",
"test:all": "yarn test && yarn test:integration && yarn test:e2e && yarn test:tsd",
"lint:types": "tsc",
"lint:eslint": "eslint './packages/**/*.{ts,tsx,js,jsx}'",
"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": "node -r @swc-node/register ./scripts/verdaccio-release.ts",
"release:build": "yarn workspaces foreach --topological-dev -v 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",
"stub:all": "yarn workspaces foreach -p run stub",
"prepare": "husky install",
"postinstall": "yarn stub:all"
},
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@size-limit/preset-small-lib": "^8.1.1",
"@swc/core": "^1.3.26",
"@tsd/typescript": "^4.9.5",
"@types/jest": "^29.4.0",
"@types/mock-fs": "^4.13.1",
"@types/node": "16.18.13",
"@types/ramda": "^0.27.23",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.7.0",
"chalk": "^4.1.0",
"cross-env": "^7.0.2",
"eslint": "^7.32.0",
"eslint-import-resolver-typescript": "^3.5.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.1.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-node-single-context": "^29.4.0",
"jest-runner-tsd": "^4.0.0",
"lerna": "^6.5.1",
"lint-staged": "^13.1.0",
"memory-fs": "^0.5.0",
"minimist": "^1.2.5",
"mock-fs": "^5.2.0",
"npm-cli-login": "^0.1.1",
"ora": "^5.1.0",
"prettier": "2.8.3",
"rimraf": "^3.0.2",
"semver": "^7.3.2",
"size-limit": "^8.1.1",
"strip-ansi": "^6.0.1",
"swc-node": "^1.0.0",
"ts-jest": "^29.2.4",
"typescript": "^4.9.5"
},
"workspaces": [
"packages/*",
"test/*"
],
"repository": {
"type": "git",
"url": "https://github.com/lingui/js-lingui.git"
},
"lint-staged": {
"*.{ts,tsx,js,jsx}": [
"prettier --write --ignore-unknown",
"eslint --fix"
]
},
"size-limit": [
{
"path": "./packages/core/dist/index.mjs",
"import": "{ i18n }",
"limit": "3 kB"
},
{
"path": "./packages/detect-locale/dist/index.mjs",
"limit": "1 kB"
},
{
"path": "./packages/react/dist/index.mjs",
"limit": "2.3 kB",
"ignore": [
"react"
]
},
{
"path": "./packages/remote-loader/dist/index.mjs",
"limit": "8 kB"
}
],
"packageManager": "[email protected]"
}