-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.5 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.5 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
{
"name": "@tiny-intl/react",
"version": "2.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/ps73/tiny-intl.git",
"directory": "packages/react"
},
"author": "Phil Schaffarzyk <phil.schaffarzyk@gmail.com>",
"license": "MIT",
"type": "module",
"files": [
"lib"
],
"main": "./lib/index.cjs",
"module": "./lib/index.js",
"types": "./lib/types/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": {
"types": "./lib/types/index.d.ts",
"default": "./lib/index.js"
},
"require": {
"types": "./lib/types/index.d.cts",
"default": "./lib/index.cjs"
}
},
"./package.json": "./package.json"
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build && node -e \"const f=require('fs');f.copyFileSync('lib/types/index.d.ts','lib/types/index.d.cts')\"",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@tiny-intl/core": "^2.0.0"
},
"devDependencies": {
"@testing-library/react": "^14.3.1",
"@types/react": "^18.0.28",
"@vitejs/plugin-react": "^4.1.0",
"@vitest/coverage-v8": "^0.34.6",
"jsdom": "^22.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup-plugin-visualizer": "^5.9.0",
"typescript": "^5.2.2",
"vite": "^4.5.2",
"vite-plugin-dts": "^3.6.4",
"vitest": "^0.34.6"
}
}