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