add --allow-local-files to all marp scripts
This commit is contained in:
+5
-5
@@ -4,11 +4,11 @@
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"build": "marp index.md -o build/index.html && cp -r assets build/",
|
||||
"dev": "marp --server ./",
|
||||
"watch": "marp --watch index.md",
|
||||
"export:pdf": "marp index.md --pdf -o build/index.pdf",
|
||||
"export:html": "marp index.md --html -o build/index.html && cp -r assets build/",
|
||||
"build": "marp index.md --allow-local-files -o build/index.html && cp -r assets build/",
|
||||
"dev": "marp --server --allow-local-files ./",
|
||||
"watch": "marp --watch --allow-local-files index.md",
|
||||
"export:pdf": "marp index.md --allow-local-files --pdf -o build/index.pdf",
|
||||
"export:html": "marp index.md --allow-local-files --html -o build/index.html && cp -r assets build/",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
|
||||
Reference in New Issue
Block a user