From 21728537caca534b08a53599e1535272c6c5976e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Fredrik=20Ki=C3=A6r?= <31612826+anders-kiaer@users.noreply.github.com> Date: Fri, 26 Nov 2021 13:56:10 +0100 Subject: [PATCH] Add `--flat` argument to `copyfiles` (#553) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 86973e86..74ca3e06 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "webviz-config", "description": "Documentation system for webviz-config plugins", "scripts": { - "postinstall": "cd ./node_modules; copyfiles ./docsify/lib/docsify.min.js ./docsify/lib/plugins/search.min.js ./docsify/lib/themes/vue.css ./docsify-tabs/dist/docsify-tabs.min.js ./prismjs/components/prism-bash.min.js ./prismjs/components/prism-python.min.js ./prismjs/components/prism-yaml.min.js ./docsify-copy-code/dist/docsify-copy-code.min.js ./katex/dist/katex.min.css ./docsify-katex/dist/docsify-katex.js ../INTRODUCTION.md ../webviz_config/_docs/static/; mkdir -p ../webviz_config/_docs/static/fonts; copyfiles ./katex/dist/fonts/*.woff2 ../webviz_config/_docs/static/fonts/; cd .." + "postinstall": "cd ./node_modules; copyfiles --flat ./docsify/lib/docsify.min.js ./docsify/lib/plugins/search.min.js ./docsify/lib/themes/vue.css ./docsify-tabs/dist/docsify-tabs.min.js ./prismjs/components/prism-bash.min.js ./prismjs/components/prism-python.min.js ./prismjs/components/prism-yaml.min.js ./docsify-copy-code/dist/docsify-copy-code.min.js ./katex/dist/katex.min.css ./docsify-katex/dist/docsify-katex.js ../INTRODUCTION.md ../webviz_config/_docs/static/; copyfiles --flat ./katex/dist/fonts/*.woff2 ../webviz_config/_docs/static/fonts; cd .." }, "author": "Equinor", "license": "MIT",