Skip to content

Commit

Permalink
da refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
josepot committed Apr 15, 2024
1 parent 3c587ef commit d76e68a
Show file tree
Hide file tree
Showing 58 changed files with 2,724 additions and 1,271 deletions.
18 changes: 0 additions & 18 deletions .eslintrc.cjs

This file was deleted.

3 changes: 0 additions & 3 deletions README.md

This file was deleted.

17 changes: 17 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": false,
"tsx": true,
"tailwind": {
"config": "tailwind.config.js",
"css": "src/index.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
Binary file added dot.scale
Binary file not shown.
Binary file added dotAh.scale
Binary file not shown.
Binary file added ksm.scale
Binary file not shown.
Binary file added ksmAh.scale
Binary file not shown.
41 changes: 32 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "react-teleport-example",
"homepage": "https://polkadot-api.github.io/react-teleport-example/",
"private": true,
"version": "0.0.0",
"type": "module",
Expand All @@ -9,27 +8,35 @@
"dev": "vite",
"build": "papi && tsc && vite build",
"gh-build": "papi && tsc && vite build --base=/react-teleport-example/",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"format": "prettier --write README.md \"src/**/*.{js,jsx,ts,tsx,json,md}\"",
"preview": "vite preview"
},
"dependencies": {
"@polkadot-api/descriptors": "^0.0.1",
"polkadot-api": "^0.1.3",
"@radix-ui/react-dialog": "^1.0.5",
"@radix-ui/react-label": "^2.0.2",
"@radix-ui/react-select": "^2.0.0",
"@radix-ui/react-slot": "^1.0.2",
"@radix-ui/react-tabs": "^1.0.4",
"class-variance-authority": "^0.7.0",
"clsx": "^2.1.0",
"lucide-react": "^0.368.0",
"polkadot-api": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rxjs": "^7.8.1"
"rxjs": "^7.8.1",
"tailwind-merge": "^2.2.2",
"tailwindcss-animate": "^1.0.7"
},
"devDependencies": {
"@types/node": "^20.12.7",
"@types/react": "^18.2.77",
"@types/react-dom": "^18.2.25",
"@typescript-eslint/eslint-plugin": "^7.2.0",
"@typescript-eslint/parser": "^7.2.0",
"@vitejs/plugin-react": "^4.2.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.6",
"autoprefixer": "^10.4.19",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"tailwindcss": "^3.4.3",
"typescript": "^5.2.2",
"vite": "^5.2.0"
},
Expand All @@ -46,6 +53,22 @@
"wndAssethub": {
"wsUrl": "wss://westend-asset-hub-rpc.polkadot.io",
"metadata": "wndAssethub.scale"
},
"dot": {
"chain": "polkadot",
"metadata": "dot.scale"
},
"ksm": {
"chain": "ksmcc3",
"metadata": "ksm.scale"
},
"dotAh": {
"wsUrl": "wss://polkadot-asset-hub-rpc.polkadot.io",
"metadata": "dotAh.scale"
},
"ksmAh": {
"wsUrl": "wss://kusama-asset-hub-rpc.polkadot.io",
"metadata": "ksmAh.scale"
}
}
}
Loading

0 comments on commit d76e68a

Please sign in to comment.