-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
·104 lines (104 loc) · 2.83 KB
/
package.json
File metadata and controls
executable file
·104 lines (104 loc) · 2.83 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
{
"name": "gt-react",
"version": "10.6.2-alpha.0",
"description": "A React library for automatic internationalization.",
"main": "./dist/index.cjs.min.cjs",
"module": "./dist/index.esm.min.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist",
"CHANGELOG.md"
],
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"dependencies": {
"@generaltranslation/supported-locales": "^2.0.13",
"generaltranslation": "^7.5.0"
},
"scripts": {
"patch": "npm version patch",
"transpile": "tsc",
"build": "rollup -c",
"build:clean": "rm -rf dist; npm run build",
"build:release": "npm run build:clean",
"release": "npm run build:clean && npm publish",
"release:alpha": "npm run build:clean && npm publish --tag alpha",
"release:beta": "npm run build:clean && npm publish --tag beta",
"release:latest": "npm run build:clean && npm publish --tag latest",
"lint": "eslint \"src/**/*.{js,ts,tsx}\" \"__tests__/**/*.{js,ts,tsx}\"",
"lint:fix": "eslint \"src/**/*.{js,ts,tsx}\" \"__tests__/**/*.{js,ts,tsx}\" --fix",
"test": "vitest run",
"test:watch": "vitest"
},
"repository": {
"type": "git",
"url": "git+https://github.com/generaltranslation/gt.git"
},
"author": "General Translation, Inc.",
"license": "FSL-1.1-ALv2",
"bugs": {
"url": "https://github.com/generaltranslation/gt/issues"
},
"homepage": "https://generaltranslation.com/",
"devDependencies": {
"@babel/preset-react": "^7.26.3",
"@babel/preset-typescript": "^7.26.0",
"@rollup/plugin-babel": "^6.0.4",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/node": "^22.13.5",
"@types/react": ">=18.0.0 <20.0.0",
"@types/react-dom": ">=18.0.0 <20.0.0",
"rollup": "^4.32.1",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-postcss": "^4.0.2",
"rollup-preserve-directives": "^1.1.3",
"typescript": "^5.7.3"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"require": "./dist/index.cjs.min.cjs",
"import": "./dist/index.esm.min.mjs"
},
"./internal": {
"types": "./dist/internal.d.ts",
"require": "./dist/internal.cjs.min.cjs",
"import": "./dist/internal.esm.min.mjs"
},
"./client": {
"types": "./dist/client.d.ts",
"require": "./dist/client.cjs.min.cjs",
"import": "./dist/client.esm.min.mjs"
}
},
"typesVersions": {
"*": {
"client": [
"./dist/client.d.ts"
],
"internal": [
"./dist/internal.d.ts"
]
}
},
"compilerOptions": {
"baseUrl": ".",
"paths": {
"gt-react/client": [
"./dist/client"
],
"gt-react/internal": [
"./dist/internal"
]
}
},
"keywords": [
"react",
"translation",
"internationalization",
"localization",
"i18n"
]
}