-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 1.94 KB
/
Copy pathpackage.json
File metadata and controls
73 lines (73 loc) · 1.94 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
{
"name": "react-display-value",
"version": "0.2.1",
"type": "module",
"description": "UI helpers for displaying token amounts, USD values, percentages, and formatted numbers in React.",
"main": "dist/index.cjs.js",
"module": "dist/index.esm.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.esm.js",
"require": "./dist/index.cjs.js",
"types": "./dist/index.d.ts"
},
"./hooks/*": "./dist/hooks/*.js",
"./utils/*": "./dist/utils/*.js",
"./fetch-functions/*": "./dist/fetch-functions/*.js",
"./config/*": "./dist/config/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/WingsDevelopment/react-display-value"
},
"homepage": "https://github.com/WingsDevelopment/react-display-value#readme",
"bugs": {
"url": "https://github.com/WingsDevelopment/react-display-value/issues"
},
"keywords": [
"react",
"react-component",
"ui",
"formatting",
"numbers",
"currency",
"tokens",
"crypto",
"finance",
"percentage",
"skeleton",
"tooltip",
"truncate",
"tailwind",
"defi",
"money"
],
"author": "Srdjan Rakic <bans.cowboy@gmail.com>",
"license": "MIT",
"scripts": {
"clean": "rimraf dist",
"build": "npm run clean && rollup -c --bundleConfigAsCjs",
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"clsx": "^2.0.0",
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
"tailwind-merge": "^3.0.0",
"viem": "^2.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^28.0.3",
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.2",
"@types/node": "^22.14.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"rimraf": "^6.0.1",
"rollup": "^4.39.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"tslib": "^2.8.1",
"typescript": "^5.0.0"
}
}