-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 1.33 KB
/
package.json
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": "slidev-resources-template",
"private": true,
"scripts": {
"new": "scaffdog generate new_slide",
"build:before": "node scripts/setup-spa.js ${npm_config_slide} ${npm_config_pagesurl}",
"build:after": "node scripts/create-preview-image.js dist/${npm_config_slide}.pdf docs/${npm_config_slide}/preview.png ",
"build": "slidev build --out ../docs/${npm_config_slide} --base /slidev-resources-template/${npm_config_slide} ${npm_config_slide}/slides.md",
"dev": "slidev --open --remote 0.0.0.0",
"export": "slidev export --output dist/${npm_config_slide}.pdf --format pdf ${npm_config_slide}/slides.md",
"export:dark": "slidev export --dark --output dist/${npm_config_slide}-dark.pdf --format pdf ${npm_config_slide}/slides.md",
"update-index-page": "ts-node scripts/update-index-pages.ts ${npm_config_pagesdir}",
"setup-repository": "ts-node scripts/setup-repository.ts ${npm_config_repository} ${npm_config_pages_basepath} ${npm_config_pages_baseurl}"
},
"dependencies": {
"@slidev/cli": "^0.49.0",
"@slidev/theme-default": "*",
"@slidev/theme-seriph": "*",
"gray-matter": "^4.0.3",
"pdf-img-convert": "^1.2.1"
},
"devDependencies": {
"glob": "^10.3.15",
"playwright-chromium": "^1.33.0",
"scaffdog": "^3.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
}
}