-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 957 Bytes
/
package.json
File metadata and controls
22 lines (22 loc) · 957 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"scripts": {
"clean": "rm -rf docs",
"clean-md": "find md -name '*.html' -type f -delete",
"assets": "cp -r assets docs/ && cp -r scripts docs/ && cp -r styles docs/",
"build-ghp": "npx @marp-team/marp-cli@latest --engine ./engine2.js --bespoke.osc false --theme-set styles/ -I mdx --html --allow-local-files -o docs",
"watch:mdx": "marp --engine ./engine2.js --bespoke.osc false --theme-set styles/ --watch -I mdx --html --allow-local-files -o docs",
"serve:html": "live-server docs --watch=docs --mount=/assets:assets --mount=/scripts:scripts --mount=/styles:styles",
"watch:md": "node genmdx.js",
"start": "concurrently npm:watch:md npm:watch:mdx npm:serve:html"
},
"dependencies": {
"@marp-team/marpit": "^3.1.3",
"chokidar": "^4.0.3",
"live-server": "^1.2.2",
"markdown-it": "^14.1.0",
"markdown-it-implicit-figures": "^0.12.0"
},
"devDependencies": {
"concurrently": "^9.2.1"
}
}