Skip to content

Commit

Permalink
Add prettify command
Browse files Browse the repository at this point in the history
  • Loading branch information
taniarascia committed Oct 15, 2021
1 parent c57595d commit 0454eb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"scripts": {
"start": "cross-env NODE_ENV=development webpack serve --config config/webpack.dev.js",
"build": "cross-env NODE_ENV=production webpack --config config/webpack.prod.js",
"lint": "eslint . src config || true"
"lint": "eslint . src config || true",
"prettify": "prettier --write 'src/**/*.js'"
},
"keywords": [
"webpack",
Expand Down
3 changes: 2 additions & 1 deletion src/js/example.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export const example = () => `Sensible webpack 5 boilerplate using Babel and PostCSS with a hot dev server
export const example =
() => `Sensible webpack 5 boilerplate using Babel and PostCSS with a hot dev server
and an optimized production build.`

0 comments on commit 0454eb9

Please sign in to comment.