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