Skip to content

Commit

Permalink
Add prettier format command
Browse files Browse the repository at this point in the history
  • Loading branch information
miyaoka committed Jan 23, 2018
1 parent 74263c2 commit 83377cc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
1 change: 0 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
package.json
package-lock.json
yarn.lock
*.md
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"dev": "nuxt",
"build": "nuxt build",
"generate": "NODE_ENV=production nuxt generate",
"prettier": "prettier --write **/*.{js,ts,vue,md}",
"lint": "eslint --ext .js,.vue --ignore-path .gitignore .",
"deploy": "push-dir --dir=dist --branch=gh-pages --cleanup",
"precommit": "npm run lint"
Expand All @@ -43,6 +44,7 @@
"eslint-plugin-promise": "^3.6.0",
"eslint-plugin-standard": "^3.0.1",
"node-sass": "^4.7.2",
"prettier": "^1.10.2",
"sass-loader": "^6.0.6",
"ts-loader": "^3.2.0",
"typescript": "^2.6.2"
Expand Down

0 comments on commit 83377cc

Please sign in to comment.