@deloraprotocol/widget 1.0.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/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@deloraprotocol/widget",
3
+ "version": "1.0.0",
4
+ "description": "A React widget component library with light/dark themes and CSS variable overrides",
5
+ "type": "module",
6
+ "main": "./dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./styles.css": "./dist/styles.css"
15
+ },
16
+ "files": [
17
+ "dist"
18
+ ],
19
+ "publishConfig": {
20
+ "access": "public"
21
+ },
22
+ "sideEffects": [
23
+ "**/*.css"
24
+ ],
25
+ "scripts": {
26
+ "build": "vite build",
27
+ "typecheck": "tsc --noEmit",
28
+ "dev": "vite build --watch",
29
+ "playground": "npm run build && cd playground && npm install && npm run dev",
30
+ "playground:dev": "concurrently -n lib,play -c blue,green \"npm run dev\" \"cd playground && npm run dev\""
31
+ },
32
+ "peerDependencies": {
33
+ "react": ">=18.0.0",
34
+ "react-dom": ">=18.0.0"
35
+ },
36
+ "dependencies": {
37
+ "ethers": "^6.10.0"
38
+ },
39
+ "devDependencies": {
40
+ "@types/react": "^18.2.0",
41
+ "@types/react-dom": "^18.2.0",
42
+ "@vitejs/plugin-react": "^4.2.0",
43
+ "autoprefixer": "^10.4.16",
44
+ "concurrently": "^8.2.2",
45
+ "postcss": "^8.4.32",
46
+ "react": "^18.2.0",
47
+ "react-dom": "^18.2.0",
48
+ "tailwindcss": "^3.4.0",
49
+ "typescript": "^5.3.0",
50
+ "vite": "^5.0.0",
51
+ "vite-plugin-dts": "^3.7.0"
52
+ }
53
+ }