Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 60 additions & 0 deletions onchain-app-template/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"name": "onchain-app-template",
"private": true,
"version": "0.0.0",
"scripts": {
"build": "next build",
"check": "biome check --write .",
"ci:check": "biome ci --formatter-enabled=false --linter-enabled=false",
"ci:format": "biome ci --linter-enabled=false --organize-imports-enabled=false",
"ci:lint": "biome ci --formatter-enabled=false --organize-imports-enabled=false",
"dev": "NODE_OPTIONS='--inspect' next dev",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dev script uses POSIX-style env var assignment with single quotes (NODE_OPTIONS='--inspect' ...), which will fail on Windows shells. If this template is intended to be cross-platform, consider using a cross-platform env helper (e.g. cross-env) or moving --inspect into a separate dev:inspect script while keeping dev portable.

Copilot uses AI. Check for mistakes.
"format": "biome format --write .",
"lint": "biome lint --write .",
"lint:unsafe": "biome lint --write --unsafe .",
"start": "next start",
"test": "vitest run",
"test:coverage": "vitest run --coverage"
},
"dependencies": {
"@coinbase/onchainkit": "^0.35.6",
"next": "^15.2.9",
"permissionless": "^0.1.26",
"react": "^18",
"react-dom": "^18",
"siwe": "^2.3.2"
},
"devDependencies": {
"@biomejs/biome": "^1.8.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^14.2.0",
"@types/node": "^20.11.8",
"@types/react": "^18.2.48",
"@types/react-dom": "^18.2.7",
"@vitest/coverage-v8": "^3.0.5",
"@vitest/ui": "^3.0.5",
"@wagmi/cli": "2.10.0",
"autoprefixer": "^10.4.19",
"bufferutil": "^4.0.7",
"encoding": "^0.1.13",
"jsdom": "^24.1.0",
"lokijs": "^1.5.12",
"pino-pretty": "^10.2.0",
"postcss": "^8.4.38",
"supports-color": "^9.4.0",
"tailwindcss": "^3.4.0",
"typescript": "^5.3.3",
"utf-8-validate": "^6.0.3",
"vitest": "^3.0.5"
},
"resolutions": {
"cross-spawn": "^7.0.5",
"sha.js": "^2.4.12",
"node-forge": "^1.3.3",
"bn.js": "^5.2.3",
"glob": "^10.5.0",
"h3": "^1.15.5",
"lodash": "^4.17.23",
"minimatch": "^10.2.1"
Comment on lines +50 to +58
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The resolutions field is only honored by some package managers (notably Yarn). If consumers install this template with npm (which uses overrides) or pnpm (which uses pnpm.overrides), these pins may be ignored and the vulnerable transitive versions could still be selected. Consider either (a) switching to the override mechanism for the intended package manager, or (b) adding a packageManager field (and ideally a lockfile) to make it explicit that installs must use a tool that honors resolutions.

Copilot uses AI. Check for mistakes.
}
}