forked from lingui/js-lingui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 4.51 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "js-lingui-workspaces",
"private": true,
"version": "3.2.1",
"author": {
"name": "Tomáš Ehrlich",
"email": "tomas.ehrlich@gmail.com"
},
"license": "MIT",
"scripts": {
"test": "cross-env TZ=UTC NODE_ICU_DATA=node_modules/full-icu JEST_JUNIT_OUTPUT=results/unit.xml jest -c jest.config.js --no-cache",
"test:integration": "cross-env TZ=UTC NODE_ICU_DATA=node_modules/full-icu JEST_JUNIT_OUTPUT=results/integration.xml jest -c jest.config.integration.js --no-cache",
"test:e2e": "lerna run test:e2e",
"test:all": "yarn test && yarn test:integration && yarn test:e2e",
"watch": "cross-env TZ=UTC NODE_ICU_DATA=node_modules/full-icu jest -c jest.config.js --watch",
"watch:integration": "cross-env TZ=UTC NODE_ICU_DATA=node_modules/full-icu jest -c jest.config.integration.js --watch",
"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}'",
"release:build": "node -r @swc-node/register ./scripts/build/index.ts",
"release:test": "node -r @swc-node/register ./scripts/test.ts",
"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": ">=14.0.0"
},
"devDependencies": {
"@babel/code-frame": "^7.18.6",
"@babel/core": "^7.20.12",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.18.6",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.0",
"@rollup/plugin-node-resolve": "^15.0.1",
"@size-limit/preset-small-lib": "^8.1.1",
"@swc/core": "^1.3.26",
"@swc/jest": "^0.2.24",
"@testing-library/react": "^11.0.4",
"@types/babel-types": "^7.0.9",
"@types/jest": "^26.0.14",
"@types/mock-fs": "^4.13.1",
"@types/node": "14.14.31",
"@types/ramda": "^0.27.23",
"@types/react": "^16.9.51",
"@types/rimraf": "^3.0.2",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.5.2",
"babel-plugin-macros": "^2.8.0",
"chalk": "^4.1.0",
"codecov": "^3.8.1",
"cross-env": "^7.0.2",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.1.1",
"eslint-plugin-react": "^7.21.4",
"fs-extra": "^9.0.1",
"full-icu": "^1.3.1",
"glob": "^7.1.4",
"husky": "^8.0.3",
"jest": "^26.5.2",
"jest-junit": "^12.0.0",
"jest-serializer-html": "^7.0.0",
"lerna": "^3.22.1",
"lint-staged": "^13.1.0",
"memory-fs": "^0.5.0",
"minimist": "^1.2.5",
"mock-fs": "^5.2.0",
"mockdate": "^3.0.2",
"ncp": "^2.0.0",
"npm-cli-login": "^0.1.1",
"ora": "^5.1.0",
"prettier": "2.8.3",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"rimraf": "^3.0.2",
"rollup": "^3.10.0",
"rollup-plugin-dts": "^5.1.1",
"semver": "^7.3.2",
"set-tz": "^0.2.0",
"size-limit": "^8.1.1",
"strip-ansi": "^6.0.0",
"swc-node": "^1.0.0",
"ts-jest": "^26.4.1",
"typescript": "^4.9.5",
"yalc": "^1.0.0-pre.45"
},
"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/build/esm/index.js",
"import": "{ i18n }",
"limit": "3 kB"
},
{
"path": "./packages/detect-locale/build/esm/index.js",
"limit": "1 kB"
},
{
"path": "./packages/react/build/esm/index.js",
"limit": "3 kB",
"ignore": [
"react"
]
},
{
"path": "./packages/remote-loader/build/esm/index.js",
"limit": "8 kB"
}
]
}