chore: remove bun and pnpm
This commit is contained in:
@@ -3,19 +3,19 @@
|
||||
## Build Commands
|
||||
|
||||
```bash
|
||||
bun run dev # Development: runs build.js + tailwindcss --watch
|
||||
bun run build # Production build → extension/output
|
||||
bun run package:chrome # Creates extension/releases/nostrconnect_chrome.zip
|
||||
bun run package:firefox # Creates extension/releases/nostrconnect_firefox.xpi
|
||||
bun run lint # Run Biome linter
|
||||
bun run format # Format with Biome (auto-fix)
|
||||
bun run test # Run tests with Vitest
|
||||
bun run test:watch # Run tests in watch mode
|
||||
npm run dev # Development: runs build.js + tailwindcss --watch
|
||||
npm run build # Production build → extension/output
|
||||
npm run package:chrome # Creates extension/releases/nostrconnect_chrome.zip
|
||||
npm run package:firefox # Creates extension/releases/nostrconnect_firefox.xpi
|
||||
npm run lint # Run Biome linter
|
||||
npm run format # Format with Biome (auto-fix)
|
||||
npm run test # Run tests with Vitest
|
||||
npm run test:watch # Run tests in watch mode
|
||||
```
|
||||
|
||||
## Key Facts
|
||||
|
||||
- **Package manager**: bun (preferred) or pnpm. Uses `@jsr` registry for `@nostr/tools`
|
||||
- **Package manager**: npm. Peer dependency conflicts are tolerated via `legacy-peer-deps=true` in `.npmrc`
|
||||
- **Build output**: `extension/output/` (not `dist/`)
|
||||
- **Ignore `extension/output/`**: It contains generated JS/HTML/CSS and is gitignored
|
||||
- **Tailwind source**: `extension/style.css` → `extension/output/style.css`
|
||||
|
||||
Reference in New Issue
Block a user