mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-22 04:40:40 +00:00
fix: use shx in npm scripts to fix cross-platform commands (#321)
This commit is contained in:
parent
78a24426c5
commit
fdd4e19d0e
@ -16,8 +16,8 @@
|
|||||||
"svg:font": "svgtofont --sources build/icons/ --output build/fonts/",
|
"svg:font": "svgtofont --sources build/icons/ --output build/fonts/",
|
||||||
"prep:clean": "shx rm -rf build/ static/",
|
"prep:clean": "shx rm -rf build/ static/",
|
||||||
"prep:clean-all": "shx rm -rf build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/",
|
"prep:clean-all": "shx rm -rf build/ dist/ static/ data/ assets/sprites/ exampleSite/data/sprites/",
|
||||||
"prep:make": "mkdir -p build/icons/ build/fonts/ dist/",
|
"prep:make": "shx mkdir -p build/icons/ build/fonts/ dist/",
|
||||||
"svg-sprite-list": "run-s prep:make svg ; mkdir -p exampleSite/data/sprites/ ; shx cp build/fonts/GeekdocIcons.json exampleSite/data/sprites/geekdoc.json",
|
"svg-sprite-list": "run-s prep:make svg ; shx mkdir -p exampleSite/data/sprites/ ; shx cp build/fonts/GeekdocIcons.json exampleSite/data/sprites/geekdoc.json",
|
||||||
"lint": "eslint src/js/ --color"
|
"lint": "eslint src/js/ --color"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
|
Loading…
Reference in New Issue
Block a user