feat: switch to pnpm
This commit is contained in:
@@ -7,12 +7,12 @@ Printable math worksheet generator (A4 PDF) for children aged 7–9. Claude Code
|
||||
## Commands
|
||||
|
||||
```bash
|
||||
npm run build:css # Build Tailwind CSS (minified)
|
||||
npm run build:css:watch # Watch mode for CSS
|
||||
npm run preview # Serve HTML at localhost:3000 with live-reload
|
||||
npm run dev # CSS watch + preview server (concurrent)
|
||||
npm run pdf -- <file> # Convert HTML file to PDF
|
||||
npm run remove-bg -- <file|dir> # Remove white background from PNG icons
|
||||
pnpm build:css # Build Tailwind CSS (minified)
|
||||
pnpm build:css:watch # Watch mode for CSS
|
||||
pnpm preview # Serve HTML at localhost:3000 with live-reload
|
||||
pnpm dev # CSS watch + preview server (concurrent)
|
||||
pnpm pdf -- <file> # Convert HTML file to PDF
|
||||
pnpm remove-bg -- <file|dir> # Remove white background from PNG icons
|
||||
```
|
||||
|
||||
Generate images via Banatie API:
|
||||
@@ -186,5 +186,5 @@ Puppeteer settings for A4 worksheets:
|
||||
3. Claude reads `src/templates/space-base.html` + `src/examples/space-worksheet.html` as references
|
||||
4. Claude generates HTML file in `output/html/` — creates concrete problems from `task` text, assigns unique shuffled icons, builds all pages
|
||||
5. Add a link to the new document in `output/index.html` (card with title and path)
|
||||
6. Run `npm run pdf -- output/html/<file>.html` to create PDF
|
||||
7. Preview with `npm run preview` at localhost:3000
|
||||
6. Run `pnpm pdf -- output/html/<file>.html` to create PDF
|
||||
7. Preview with `pnpm preview` at localhost:3000
|
||||
|
||||
Reference in New Issue
Block a user