Skip to content

Commit

Permalink
Use cpy-cli for OS-independent file copy (#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Feb 2, 2024
1 parent 5d96fa3 commit edd2a0c
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 @@ -7,7 +7,7 @@
"scripts": {
"_cd:docs": "cd userguide &&",
"_check:format": "npx prettier --check .??* *.md",
"_cp:bs-rfs": "cp -R node_modules/bootstrap/scss/vendor/* assets/_vendor/bootstrap/scss/",
"_cp:bs-rfs": "npx cpy 'node_modules/bootstrap/scss/vendor/*' assets/_vendor/bootstrap/scss/",
"_mkdir:hugo-mod": "npx mkdirp ../github.com/FortAwesome/Font-Awesome ../github.com/twbs/bootstrap",
"_prebuild": "npm run _cp:bs-rfs",
"_test:docs": "npm run cd:docs test",
Expand All @@ -26,7 +26,6 @@
"postinstall": "npm run _mkdir:hugo-mod",
"prebuild:preview": "npm run _prebuild",
"prebuild:production": "npm run _prebuild",
"prepare": "npm run _cp:bs-rfs",
"preserve": "npm run _prebuild",
"pretest": "npm run _prebuild",
"serve": "npm run cd:docs serve",
Expand All @@ -41,6 +40,7 @@
"bootstrap": "5.2.3"
},
"devDependencies": {
"cpy-cli": "^5.0.0",
"hugo-extended": "0.122.0",
"markdown-link-check": "^3.11.2",
"mkdirp": "^3.0.1",
Expand Down

0 comments on commit edd2a0c

Please sign in to comment.