forked from ivanhofer/typesafe-i18n
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
179 lines (179 loc) · 5.05 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
{
"name": "typesafe-i18n",
"version": "5.26.2",
"description": "A fully type-safe and lightweight internationalization library for all your TypeScript and JavaScript projects.",
"author": "ivanhofer",
"homepage": "https://github.com/ivanhofer/typesafe-i18n",
"repository": {
"type": "git",
"url": "https://github.com/ivanhofer/typesafe-i18n"
},
"keywords": [
"i18n",
"typescript",
"internationalization",
"typesafe",
"l10n",
"localization",
"internationalization library",
"localization library",
"localization engine",
"lightweight",
"svelte",
"sveltekit",
"react",
"react-native",
"nextjs",
"expo",
"angular",
"vue",
"nuxtjs",
"solid",
"nodejs"
],
"license": "MIT",
"type": "module",
"module": "runtime/esm/runtime/src/index.mjs",
"main": "runtime/cjs/runtime/src/index.cjs",
"types": "types/index.d.ts",
"exports": {
"./angular": {
"types": "./angular/index.d.ts",
"import": "./angular/index.mjs",
"require": "./angular/index.cjs"
},
"./config": {
"types": "./config/index.d.ts",
"import": "./config/index.mjs",
"require": "./config/index.cjs"
},
"./detectors": {
"types": "./detectors/index.d.ts",
"import": "./detectors/index.mjs",
"require": "./detectors/index.cjs"
},
"./exporter": {
"types": "./exporter/index.d.ts",
"import": "./exporter/index.mjs",
"require": "./exporter/index.cjs"
},
"./formatters": {
"types": "./formatters/index.d.ts",
"import": "./formatters/index.mjs",
"require": "./formatters/index.cjs"
},
"./importer": {
"types": "./importer/index.d.ts",
"import": "./importer/index.mjs",
"require": "./importer/index.cjs"
},
"./parser": {
"types": "./parser/index.d.ts",
"import": "./parser/index.mjs",
"require": "./parser/index.cjs"
},
"./react": {
"types": "./react/index.d.ts",
"import": "./react/index.mjs",
"require": "./react/index.cjs"
},
"./solid": {
"types": "./solid/index.d.ts",
"import": "./solid/index.mjs",
"require": "./solid/index.cjs"
},
"./svelte": {
"types": "./svelte/index.d.ts",
"import": "./svelte/index.mjs",
"require": "./svelte/index.cjs"
},
"./utils": {
"types": "./utils/index.d.ts",
"import": "./utils/index.mjs",
"require": "./utils/index.cjs"
},
"./vue": {
"types": "./vue/index.d.ts",
"import": "./vue/index.mjs",
"require": "./vue/index.cjs"
},
".": {
"types": "./runtime/esm/runtime/src/index.d.ts",
"import": "./runtime/esm/runtime/src/index.mjs",
"require": "./runtime/cjs/runtime/src/index.cjs"
},
"./package.json": "./package.json"
},
"files": [
"/angular",
"/detectors",
"/cli",
"/config",
"/dist",
"/exporter",
"/formatters",
"/importer",
"/parser",
"/react",
"/runtime",
"/schema",
"/solid",
"/svelte",
"/types",
"/utils",
"/vue"
],
"scripts": {
"-- DEV -------------------------------------------------": "",
"update:dependencies": "pnpm up -r",
"update:version": "tsx ./update-version.ts",
"clear": "rimraf ./angular ./cli ./config ./detectors ./dist ./exporter ./formatters ./importer ./parser ./react ./runtime ./schema ./solid ./svelte ./types ./utils ./vue ./temp-output",
"-- LINT ------------------------------------------------": "",
"lint": "eslint --cache packages",
"lint:ci": "eslint --cache --fix",
"lint:fix": "pnpm lint:ci -- packages",
"-- TEST ------------------------------------------------": "",
"test": "pnpm clear && pnpm -r generate:json-schema && pnpm --filter \"@typesafe-i18n/*\" test",
"test:size": "size-limit",
"test:update-generated-files": "pnpm --filter \"@typesafe-i18n/*\" test:update-generated-files",
"markdown-link-check": "find . -type f -name \"*.md\" -not -path \"*/node_modules/*\" -print0 | xargs -0 -n1 markdown-link-check -c .markdown-link-check.json",
"-- BUILD -----------------------------------------------": "",
"build": "pnpm clear && pnpm update:version && pnpm -r generate:json-schema && pnpm build:packages && pnpm link-typedefinitions && pnpm fix-imports",
"build:packages": "pnpm -r --filter=@typesafe-i18n/** run build",
"fix-imports": "tsx ./packages/fix-imports.ts",
"link-typedefinitions": "tsx ./packages/link-typedefinitions.ts",
"-- OTHER -----------------------------------------------": "",
"lint-staged": "lint-staged",
"prepare": "husky install"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^8.2.6",
"@types/glob": "^8.1.0",
"@types/node": "^18.17.3",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.46.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-prettier": "5.0.0-alpha.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"markdown-link-check": "^3.11.2",
"prettier": "^3.0.1",
"rimraf": "^5.0.1",
"size-limit": "^8.2.6",
"tiny-glob": "^0.2.9",
"tsx": "^3.12.7",
"typescript": "^5.1.6"
},
"peerDependencies": {
"typescript": ">=3.5.1"
},
"bin": {
"typesafe-i18n": "cli/typesafe-i18n.mjs"
},
"funding": {
"type": "github",
"url": "https://github.com/sponsors/ivanhofer"
},
"packageManager": "[email protected]"
}