-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathpackage.json
More file actions
29 lines (29 loc) · 1.65 KB
/
package.json
File metadata and controls
29 lines (29 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"name": "backend.ai-docs-toolkit-example",
"version": "0.1.0",
"private": true,
"type": "module",
"description": "Minimal example/boilerplate project for backend.ai-docs-toolkit. Doubles as the test fixture for the toolkit's integration tests.",
"scripts": {
"build:toolkit": "pnpm --filter backend.ai-docs-toolkit build",
"build:web": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js build:web --lang all",
"build:web:en": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js build:web --lang en",
"build:web:ko": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js build:web --lang ko",
"pdf": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js pdf --lang all",
"pdf:en": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js pdf --lang en",
"pdf:ko": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js pdf --lang ko",
"preview": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js preview --mode document --lang en",
"serve:web": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js serve:web --lang en",
"serve:web:ko": "pnpm run build:toolkit && node ../backend.ai-docs-toolkit/dist/cli.js serve:web --lang ko",
"test": "pnpm run test:pdf && pnpm run test:e2e",
"test:e2e": "playwright test --config tests/web/playwright.config.ts",
"test:pdf": "tsx --test tests/pdf/*.test.ts"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"backend.ai-docs-toolkit": "workspace:*",
"pdf-lib": "^1.17.1",
"playwright": "^1.58.2",
"tsx": "^4.21.0"
}
}