Skip to content

Commit 00c5a63

Browse files
committed
Use cpy-cli for OS-independent file copy
1 parent 5d96fa3 commit 00c5a63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"scripts": {
88
"_cd:docs": "cd userguide &&",
99
"_check:format": "npx prettier --check .??* *.md",
10-
"_cp:bs-rfs": "cp -R node_modules/bootstrap/scss/vendor/* assets/_vendor/bootstrap/scss/",
10+
"_cp:bs-rfs": "npx cpy 'node_modules/bootstrap/scss/vendor/*' assets/_vendor/bootstrap/scss/",
1111
"_mkdir:hugo-mod": "npx mkdirp ../github.com/FortAwesome/Font-Awesome ../github.com/twbs/bootstrap",
1212
"_prebuild": "npm run _cp:bs-rfs",
1313
"_test:docs": "npm run cd:docs test",
@@ -26,7 +26,6 @@
2626
"postinstall": "npm run _mkdir:hugo-mod",
2727
"prebuild:preview": "npm run _prebuild",
2828
"prebuild:production": "npm run _prebuild",
29-
"prepare": "npm run _cp:bs-rfs",
3029
"preserve": "npm run _prebuild",
3130
"pretest": "npm run _prebuild",
3231
"serve": "npm run cd:docs serve",
@@ -41,6 +40,7 @@
4140
"bootstrap": "5.2.3"
4241
},
4342
"devDependencies": {
43+
"cpy-cli": "^5.0.0",
4444
"hugo-extended": "0.122.0",
4545
"markdown-link-check": "^3.11.2",
4646
"mkdirp": "^3.0.1",

0 commit comments

Comments
 (0)