@getdashfy/ext-market-live 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/LICENSE +661 -0
- package/README.md +310 -0
- package/dist/index.cjs +3467 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +3281 -0
- package/dist/index.d.ts +3281 -0
- package/dist/index.js +3432 -0
- package/dist/index.js.map +1 -0
- package/package.json +146 -0
package/package.json
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@getdashfy/ext-market-live",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Market Live extension for Dashfy - Real-time prices from the Pyth Network oracle",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"dashfy",
|
|
7
|
+
"dashboard",
|
|
8
|
+
"widgets",
|
|
9
|
+
"extension",
|
|
10
|
+
"market",
|
|
11
|
+
"live",
|
|
12
|
+
"pyth",
|
|
13
|
+
"solana",
|
|
14
|
+
"oracle",
|
|
15
|
+
"commodities",
|
|
16
|
+
"crypto",
|
|
17
|
+
"equities",
|
|
18
|
+
"forex",
|
|
19
|
+
"rates"
|
|
20
|
+
],
|
|
21
|
+
"homepage": "https://github.com/dashfy/dashfy-ext-market-live#readme",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/dashfy/dashfy-ext-market-live/issues"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git@github.com:dashfy/dashfy-ext-market-live.git"
|
|
28
|
+
},
|
|
29
|
+
"license": "AGPL-3.0-or-later",
|
|
30
|
+
"author": {
|
|
31
|
+
"name": "Breno Polanski",
|
|
32
|
+
"email": "breno@dashfy.dev",
|
|
33
|
+
"url": "https://github.com/brenopolanski"
|
|
34
|
+
},
|
|
35
|
+
"type": "module",
|
|
36
|
+
"dashfy": {
|
|
37
|
+
"id": "market-live",
|
|
38
|
+
"title": "Market Live",
|
|
39
|
+
"categories": [
|
|
40
|
+
"finance"
|
|
41
|
+
],
|
|
42
|
+
"docs": "Browse feed IDs at https://pyth.network/developers/price-feed-ids",
|
|
43
|
+
"widgets": [
|
|
44
|
+
"PriceLive",
|
|
45
|
+
"TableLive"
|
|
46
|
+
],
|
|
47
|
+
"starter": [
|
|
48
|
+
{
|
|
49
|
+
"widget": "PriceLive",
|
|
50
|
+
"feedId": "crypto.BTC_USD",
|
|
51
|
+
"showChart": true
|
|
52
|
+
}
|
|
53
|
+
]
|
|
54
|
+
},
|
|
55
|
+
"exports": {
|
|
56
|
+
".": {
|
|
57
|
+
"types": "./dist/index.d.ts",
|
|
58
|
+
"import": "./dist/index.js",
|
|
59
|
+
"require": "./dist/index.cjs"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"main": "./dist/index.js",
|
|
63
|
+
"module": "./dist/index.js",
|
|
64
|
+
"types": "./dist/index.d.ts",
|
|
65
|
+
"files": [
|
|
66
|
+
"dist",
|
|
67
|
+
"README.md",
|
|
68
|
+
"LICENSE",
|
|
69
|
+
"CHANGELOG.md"
|
|
70
|
+
],
|
|
71
|
+
"publishConfig": {
|
|
72
|
+
"access": "public"
|
|
73
|
+
},
|
|
74
|
+
"engines": {
|
|
75
|
+
"node": ">=20.0.0"
|
|
76
|
+
},
|
|
77
|
+
"dependencies": {
|
|
78
|
+
"@getdashfy/utils": "^0.1.1",
|
|
79
|
+
"@pythnetwork/client": "^2.22.0",
|
|
80
|
+
"@solana/web3.js": "^1.98.4",
|
|
81
|
+
"liveline": "^0.0.7"
|
|
82
|
+
},
|
|
83
|
+
"peerDependencies": {
|
|
84
|
+
"@getdashfy/ui": "^0.2.1",
|
|
85
|
+
"lucide-react": "^0.454.0",
|
|
86
|
+
"react": "^19.0.0",
|
|
87
|
+
"react-dom": "^19.0.0"
|
|
88
|
+
},
|
|
89
|
+
"devDependencies": {
|
|
90
|
+
"@changesets/changelog-github": "^0.5.2",
|
|
91
|
+
"@changesets/cli": "^2.29.8",
|
|
92
|
+
"@commitlint/cli": "^19.6.1",
|
|
93
|
+
"@commitlint/config-conventional": "^19.6.1",
|
|
94
|
+
"@eslint/js": "^9.17.0",
|
|
95
|
+
"@getdashfy/ui": "^0.2.1",
|
|
96
|
+
"@testing-library/jest-dom": "^6.9.1",
|
|
97
|
+
"@testing-library/react": "^16.0.1",
|
|
98
|
+
"@types/node": "^22.8.6",
|
|
99
|
+
"@types/react": "^19.2.0",
|
|
100
|
+
"@types/react-dom": "^19.2.0",
|
|
101
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
102
|
+
"eslint": "^9.17.0",
|
|
103
|
+
"eslint-plugin-react": "^7.37.2",
|
|
104
|
+
"eslint-plugin-react-hooks": "^5.0.0",
|
|
105
|
+
"eslint-plugin-react-refresh": "^0.4.14",
|
|
106
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
107
|
+
"eslint-plugin-unused-imports": "^4.3.0",
|
|
108
|
+
"globals": "^15.13.0",
|
|
109
|
+
"husky": "^9.1.7",
|
|
110
|
+
"jsdom": "^25.0.1",
|
|
111
|
+
"lint-staged": "^15.2.11",
|
|
112
|
+
"lucide-react": "^0.454.0",
|
|
113
|
+
"madge": "^8.0.0",
|
|
114
|
+
"prettier": "^3.4.2",
|
|
115
|
+
"prettier-plugin-tailwindcss": "^0.7.1",
|
|
116
|
+
"react": "^19.2.0",
|
|
117
|
+
"react-dom": "^19.2.0",
|
|
118
|
+
"tsup": "^8.3.5",
|
|
119
|
+
"tsx": "^4.19.2",
|
|
120
|
+
"typescript": "^5.7.0",
|
|
121
|
+
"typescript-eslint": "^8.18.1",
|
|
122
|
+
"vitest": "^2.1.4"
|
|
123
|
+
},
|
|
124
|
+
"scripts": {
|
|
125
|
+
"build": "tsup",
|
|
126
|
+
"changeset": "changeset",
|
|
127
|
+
"changeset:publish": "changeset publish",
|
|
128
|
+
"changeset:version": "changeset version",
|
|
129
|
+
"check:all": "pnpm check:fix && pnpm check:circular",
|
|
130
|
+
"check:circular": "madge --circular --extensions ts,tsx src/ --ts-config tsconfig.json",
|
|
131
|
+
"check:fix": "pnpm format && pnpm lint:fix && pnpm typecheck",
|
|
132
|
+
"clean": "rm -rf dist node_modules",
|
|
133
|
+
"dev": "tsup --watch",
|
|
134
|
+
"format": "pnpm prettier --write",
|
|
135
|
+
"format:check": "pnpm prettier --check",
|
|
136
|
+
"generate:feeds": "tsx src/scripts/generate-pyth-feeds.ts",
|
|
137
|
+
"lint": "eslint .",
|
|
138
|
+
"lint-staged": "lint-staged",
|
|
139
|
+
"lint:fix": "eslint . --fix",
|
|
140
|
+
"prettier": "prettier \"**/*.{js,mjs,ts,tsx,css,json,md}\"",
|
|
141
|
+
"test": "vitest run",
|
|
142
|
+
"test:watch": "vitest",
|
|
143
|
+
"typecheck": "tsc --noEmit",
|
|
144
|
+
"verify": "pnpm check:all && pnpm test && pnpm build"
|
|
145
|
+
}
|
|
146
|
+
}
|