-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
package.json
104 lines (104 loc) · 2.32 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
{
"name": "@nanostores/i18n",
"version": "0.12.2",
"description": "A tiny (≈600 bytes) i18n library for React/Preact/Vue/Svelte",
"keywords": [
"nano",
"nanostores",
"i18n",
"internationalization",
"localization",
"react",
"preact",
"vue",
"svelte"
],
"scripts": {
"test:lint": "eslint .",
"test:coverage": "c8 pnpm bnt",
"test:types": "check-dts",
"test:size": "size-limit",
"test": "pnpm run /^test:/",
"start": "vite demo/"
},
"author": "Andrey Sitnik <[email protected]>",
"license": "MIT",
"repository": "nanostores/i18n",
"sideEffects": false,
"type": "module",
"types": "./index.d.ts",
"exports": {
".": "./index.js",
"./package.json": "./package.json"
},
"engines": {
"node": "^18.0.0 || >=20.0.0"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/ai"
}
],
"peerDependencies": {
"nanostores": "^0.9.0 || ^0.10.0 || ^0.11.0"
},
"devDependencies": {
"@logux/eslint-config": "^53.3.0",
"@nanostores/persistent": "^0.10.2",
"@size-limit/preset-small-lib": "^11.1.4",
"@types/node": "^22.1.0",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"better-node-test": "^0.5.1",
"c8": "^10.1.2",
"check-dts": "^0.8.0",
"clean-publish": "^5.0.0",
"conditional-type-checks": "^1.0.6",
"eslint": "^9.8.0",
"globals": "^15.9.0",
"nanodelay": "^2.0.2",
"nanospy": "^1.0.0",
"nanostores": "^0.11.0",
"size-limit": "^11.1.4",
"tsx": "^4.16.5",
"typescript": "^5.5.4",
"vite": "^5.3.5"
},
"prettier": {
"arrowParens": "avoid",
"jsxSingleQuote": false,
"quoteProps": "consistent",
"semi": false,
"singleQuote": true,
"trailingComma": "none"
},
"c8": {
"exclude": [
"**/*.test.*"
],
"lines": 100,
"check-coverage": true,
"reporter": [
"text",
"lcov"
],
"skip-full": true,
"clean": true
},
"size-limit": [
{
"name": "Minimum",
"import": "{ localeFrom, createI18n }",
"limit": "635 B"
},
{
"name": "Maximum",
"import": "{ localeFrom, browser, createI18n, params, count, formatter, createProcessor }",
"limit": "1036 B"
}
],
"clean-publish": {
"cleanDocs": true
}
}