Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
codeeshop-oc committed Nov 27, 2023
1 parent 4aa05cc commit a053e73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"test": "echo \"Error: no test specified\" && exit 1",
"docs:dev": "vitepress dev docs",
"docs:delete": "rm -rf ./docs/example && rm -rf ./docs/src && rm -rf ./docs/.vitepress/dist/example && rm -rf ./docs/.vitepress/dist/src",
"docs:copy": "mkdir ./docs/.vitepress/dist && mkdir ./docs/.vitepress/dist/example && cp -r ./example/assets ./docs/example/assets && cp -r ./src ./docs/src && cp -r ./docs/example ./docs/.vitepress/dist && cp -r ./example/assets ./docs/.vitepress/dist/example/assets && cp -r ./src ./docs/.vitepress/dist/src",
"docs:build": "pnpm docs:delete && mkdir ./docs/example && pnpm docs:copy && vitepress build docs && pnpm docs:copy",
"docs:copy": "mkdir -p ./docs/.vitepress/dist && mkdir -p ./docs/.vitepress/dist/example && cp -r ./example/assets ./docs/example/assets && cp -r ./src ./docs/src && cp -r ./docs/example ./docs/.vitepress/dist && cp -r ./example/assets ./docs/.vitepress/dist/example/assets && cp -r ./src ./docs/.vitepress/dist/src",
"docs:build": "pnpm docs:delete && mkdir -p ./docs/example && pnpm docs:copy && vitepress build docs && pnpm docs:copy",
"docs:preview": "vitepress preview docs"
},
"author": "Code-E-Shop",
Expand Down

0 comments on commit a053e73

Please sign in to comment.