-
-
Notifications
You must be signed in to change notification settings - Fork 183
/
package.json
96 lines (96 loc) 路 2.42 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
{
"name": "use-intl",
"version": "3.12.0",
"sideEffects": false,
"author": "Jan Amann <jan@amann.work>",
"description": "Minimal, but complete solution for managing internationalization in React apps.",
"license": "MIT",
"homepage": "https://next-intl-docs.vercel.app/",
"repository": {
"type": "git",
"url": "https://github.com/amannn/next-intl/tree/main/packages/use-intl"
},
"scripts": {
"build": "rm -rf dist && rollup -c",
"test": "TZ=Europe/Berlin vitest",
"lint": "pnpm run lint:source && pnpm run lint:package",
"lint:source": "eslint src test && tsc --noEmit",
"lint:package": "publint && attw --pack",
"prepublishOnly": "CI=true turbo test && turbo lint && turbo build",
"size": "size-limit"
},
"main": "./dist/index.js",
"module": "dist/esm/index.js",
"typings": "./dist/types/src/index.d.ts",
"exports": {
".": {
"types": "./dist/types/src/index.d.ts",
"default": "./dist/index.js"
},
"./core": {
"types": "./core.d.ts",
"default": "./dist/core.js"
},
"./react": {
"types": "./react.d.ts",
"default": "./dist/react.js"
},
"./_useLocale": {
"types": "./_useLocale.d.ts",
"default": "./dist/_useLocale.js"
},
"./_IntlProvider": {
"types": "./_IntlProvider.d.ts",
"default": "./dist/_IntlProvider.js"
}
},
"files": [
"dist",
"core.d.ts",
"react.d.ts",
"_useLocale.d.ts",
"_IntlProvider.d.ts"
],
"keywords": [
"react",
"intl",
"i18n",
"internationalization",
"localization",
"translate",
"translation",
"format",
"formatting"
],
"dependencies": {
"@formatjs/ecma402-abstract": "^1.11.4",
"intl-messageformat": "^9.3.18"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.5",
"@size-limit/preset-big-lib": "^8.2.6",
"@testing-library/react": "^13.0.0",
"@types/node": "^20.1.2",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
"date-fns": "^2.16.1",
"eslint": "^8.54.0",
"eslint-config-molindo": "^7.0.0",
"publint": "^0.2.7",
"react": "^18.3.0",
"react-dom": "^18.3.0",
"rollup": "^3.28.1",
"size-limit": "^8.2.6",
"typescript": "^5.2.2",
"vitest": "^1.0.1"
},
"size-limit": [
{
"path": "dist/production/index.js",
"limit": "12.575 kB"
}
]
}