Skip to content

Commit

Permalink
Add prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Jul 29, 2019
1 parent 5f4c6b6 commit 28db0f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
out/
.next/
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
"scripts": {
"now-build": "yarn run static-$TARGET",
"clean": "git clean -X -f -d",
"prettier-check": "prettier -l \"**/*.js\"",
"prettier-write": "prettier --write \"**/*.js\"",
"dev-all": "./run-dev-all.sh",
"dev-archetype-web": "yarn --cwd packages/archetype-web dev -p 3001",
"dev-skoleni-docker.cz": "yarn --cwd packages/skoleni-docker.cz dev -p 3002",
Expand Down Expand Up @@ -64,5 +66,8 @@
"static-ondrej-sika.uk": "yarn --cwd packages/ondrej-sika.uk static",
"static-ondrejsikalabs.com": "yarn --cwd packages/ondrejsikalabs.com static",
"now-ondrej-sika.cz": "yarn run static-ondrej-sika.cz && (cd packages/ondrej-sika.cz/out && now --name ondrej-sika-cz)"
},
"devDependencies": {
"prettier": "1.18.2"
}
}

0 comments on commit 28db0f2

Please sign in to comment.