-
Notifications
You must be signed in to change notification settings - Fork 86
/
package.json
90 lines (90 loc) 路 2.7 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
{
"name": "@google-translate-select/react",
"version": "0.0.4",
"description": "馃殌 The package offer react library for @google-translate-select!",
"keywords": [
"google translate select",
"google translate",
"google",
"translate",
"react",
"react google translate",
"react google translate select",
"monorepo",
"pnpm",
"turborepo",
"changesets"
],
"homepage": "https://github.com/i7eo/google-translate-select/blob/master/packages/react#readme",
"bugs": {
"url": "https://github.com/i7eo/google-translate-select/issues"
},
"license": "MIT",
"author": "i7eo <admin@i7eo.com> (https://github.com/i7eo)",
"main": "./dist/cjs/index.cjs",
"module": "./src/index.ts",
"types": "./dist/es/index.d.ts",
"exports": {
".": {
"dev": "./src/index.ts",
"types": "./dist/es/index.d.ts",
"require": "./dist/cjs/index.cjs",
"import": "./dist/es/index.mjs"
},
"./umd": "./dist/umd",
"./es": "./dist/es/index.mjs",
"./es/*": "./dist/es/*.mjs",
"./es/*.mjs": "./dist/es/*.mjs",
"./cjs": "./dist/cjs/index.cjs",
"./cjs/*": "./dist/cjs/*.js",
"./cjs/*.cjs": "./dist/cjs/*.cjs",
"./*": "./dist/*"
},
"unpkg": "./dist/umd/index.umd.js",
"jsdelivr": "./dist/umd/index.umd.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/i7eo/google-translate-select.git",
"directory": "packages/react"
},
"scripts": {
"build": "rimraf dist && run-p build:**",
"build:cjs": "vite build --config ./vite.config.build-cjs.ts",
"build:es": "vite build --config ./vite.config.build-es.ts",
"build:umd": "vite build --config ./vite.config.build-umd.ts",
"lint": "run-s lint:**",
"lint:eslint": "TIMING=1 eslint \"*.{js,jsx,ts,tsx,md,json}\" --fix",
"lint:prettier": "prettier --write \"*.{js,ts,jsx,tsx,md,json}\"",
"clean": "run-p clean:**",
"clean:cache": "rimraf .turbo && rimraf dist",
"clean:deps": "rimraf node_modules"
},
"peerDependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"dependencies": {
"@google-translate-select/constants": "workspace:*",
"@google-translate-select/theme-chalk": "workspace:*",
"@google-translate-select/utils": "workspace:*",
"classnames": "2.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.10",
"@vitejs/plugin-legacy": "3.0.1",
"@vitejs/plugin-react": "^3.0.1",
"terser": "5.16.1",
"tsup": "^6.5.0",
"typescript": "^4.9.4",
"vite": "^4.0.4",
"vite-plugin-css-injected-by-js": "2.2.0",
"vite-plugin-dts": "^1.7.1"
},
"engines": {
"node": ">=16"
}
}