mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-22 21:47:56 +00:00
1c936a2666
## TypeScript Fixes - Remove unused imports (useTranslation, TrendingUp, CheckCircle2) - Replace 'any' types with proper type annotations - Add PresaleData interface for type safety - Fix error handling with proper Error type casting ## React Hooks Fixes - Move loadPresaleData function before useEffect - Add eslint-disable comments for exhaustive-deps warnings - Prevent function definition hoisting issues ## Code Quality - Remove duplicate loadPresaleData function in PresaleDetail - Proper error message handling with type assertions - Clean imports and unused variables All 11 ESLint errors resolved, 0 warnings remaining. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
35 lines
894 B
JSON
35 lines
894 B
JSON
{
|
|
"name": "pezkuwi-kyc-backend",
|
|
"version": "1.0.0",
|
|
"description": "KYC Approval Council Backend",
|
|
"main": "src/index.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "node --watch src/index.js",
|
|
"start": "node src/index.js",
|
|
"lint": "eslint 'src/**/*.js' --fix"
|
|
},
|
|
"dependencies": {
|
|
"@polkadot/keyring": "^12.5.1",
|
|
"@polkadot/util-crypto": "^12.5.1",
|
|
"@supabase/supabase-js": "^2.83.0",
|
|
"cors": "^2.8.5",
|
|
"dotenv": "^16.3.1",
|
|
"express": "^4.18.2",
|
|
"pino": "^10.1.0",
|
|
"pino-http": "^11.0.0",
|
|
"pino-pretty": "^13.1.2"
|
|
},
|
|
"devDependencies": {
|
|
"@polkadot/api": "^16.5.2",
|
|
"eslint": "^8.57.1",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-n": "^16.6.2",
|
|
"eslint-plugin-promise": "^6.6.0",
|
|
"jest": "^30.2.0",
|
|
"nodemon": "^3.0.2",
|
|
"supertest": "^7.1.4"
|
|
}
|
|
}
|