Skip to content

Commit

Permalink
Merge pull request #36 from ojvribeiro/fix-create-dir-command
Browse files Browse the repository at this point in the history
fix(core): use `mkdirp` package as the folder creation method
  • Loading branch information
ojvribeiro authored Sep 26, 2022
2 parents bff68c2 + f8e7480 commit c934485
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
"description": "Tiny boilerplate to work with Vue and Laravel Mix.",
"main": "index.js",
"scripts": {
"build": "[ -d build\\img ] && mix || mkdir build\\img && mix",
"dev": "[ -d build\\img ] && mix watch || mkdir build\\img && mix watch",
"build": "npx mkdirp build/img && mix",
"dev": "npx mkdirp build/img && mix watch",
"hot": "npx mkdirp build/img && mix watch --hot",
"serve": "npx http-server -p 8000 -a localhost --proxy http://localhost:8000?",
"prod": "[ -d _dist\\assets\\img ] && mix --production || mkdir _dist\\assets\\img && mix --production && echo \n\nDeploy the `_dist` folder after compilation"
"prod": "npx mkdirp _dist/assets/img && mix --production"
},
"author": "Victor Ribeiro",
"license": "MIT",
Expand Down

1 comment on commit c934485

@vercel
Copy link

@vercel vercel bot commented on c934485 Sep 26, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

vulmix – ./

vulmix.vercel.app
vulmix-git-main-ojvribeiro.vercel.app
vulmix-ojvribeiro.vercel.app

Please sign in to comment.