-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.25 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.25 KB
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
{
"name": "gt-i18n",
"version": "0.4.1",
"description": "Pure JS i18n library for General Translation",
"main": "dist/index.cjs.min.cjs",
"module": "dist/index.esm.min.mjs",
"types": "dist/index.d.ts",
"files": [
"dist",
"CHANGELOG.md"
],
"scripts": {
"build:release": "pnpm run build:clean",
"build:clean": "sh ../../scripts/clean.sh && pnpm run build",
"build": "rollup -c",
"lint": "eslint \"src/**/*.{js,ts}\"",
"lint:fix": "eslint \"src/**/*.{js,ts}\" --fix",
"test": "vitest run --config=./vitest.config.ts",
"test:watch": "vitest --config=./vitest.config.ts",
"release": "pnpm run build:clean && pnpm publish",
"release:alpha": "pnpm run build:clean && pnpm publish --tag alpha",
"release:beta": "pnpm run build:clean && pnpm publish --tag beta",
"release:latest": "pnpm run build:clean && pnpm publish --tag latest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/generaltranslation/gt.git"
},
"keywords": [
"language",
"translation",
"internationalization",
"localization",
"translate",
"locale",
"i18n",
"toolkit",
"core"
],
"author": "General Translation, Inc.",
"license": "FSL-1.1-ALv2",
"bugs": {
"url": "https://github.com/generaltranslation/gt/issues"
},
"homepage": "https://generaltranslation.com/",
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.1",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-terser": "^0.4.4",
"@rollup/plugin-typescript": "^12.1.1",
"@types/node": "^20.14.9",
"rollup": "^4.24.0",
"rollup-plugin-dts": "^6.1.1",
"tslib": "^2.8.0",
"typescript": "^5.6.2"
},
"typescript": {
"definition": "dist/index.d.ts"
},
"dependencies": {
"@generaltranslation/supported-locales": "workspace:*",
"generaltranslation": "workspace:*"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs.min.cjs",
"import": "./dist/index.esm.min.mjs"
},
"./types": {
"types": "./dist/types.d.ts",
"require": "./dist/types.cjs.min.cjs",
"import": "./dist/types.esm.min.mjs"
},
"./fallbacks": {
"types": "./dist/fallbacks.d.ts",
"require": "./dist/fallbacks.cjs.min.cjs",
"import": "./dist/fallbacks.esm.min.mjs"
},
"./internal": {
"types": "./dist/internal.d.ts",
"require": "./dist/internal.cjs.min.cjs",
"import": "./dist/internal.esm.min.mjs"
},
"./internal/types": {
"types": "./dist/internal-types.d.ts",
"require": "./dist/internal-types.cjs.min.cjs",
"import": "./dist/internal-types.esm.min.mjs"
}
},
"typesVersions": {
"*": {
"types": [
"./dist/types.d.ts"
],
"fallbacks": [
"./dist/fallbacks.d.ts"
],
"internal": [
"./dist/internal.d.ts"
],
"internal-types": [
"./dist/internal-types.d.ts"
]
}
},
"compilerOptions": {
"baseUrl": ".",
"paths": {
"gt-i18n/types": [
"/dist/types"
],
"gt-i18n/fallbacks": [
"/dist/fallbacks"
],
"gt-i18n/internal": [
"/dist/internal"
],
"gt-i18n/internal-types": [
"/dist/internal-types"
]
}
}
}