Skip to content

Commit

Permalink
Add Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
razor-x committed Mar 27, 2020
1 parent 53503aa commit d0e6e34
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@
"example:watch": "nodemon --exec babel-node examples",
"example:inspect": "babel-node --inspect examples",
"example:inspect:watch": "nodemon --exec babel-node --inspect examples",
"format": "standard --fix",
"pretty": "prettier --ignore-path .gitignore --write '**/*.(js|json|graphql)'",
"format": "npm-run-all --serial pretty format:*",
"format:js": "standard --fix",
"report": "nyc report"
},
"babel": {
Expand Down Expand Up @@ -134,6 +136,7 @@
"nodemon": "^2.0.1",
"npm-run-all": "^4.1.2",
"nyc": "^15.0.0",
"prettier": "^2.0.2",
"serverless": "^1.58.0",
"serverless-domain-manager": "^3.2.1",
"serverless-offline": "^6.1.2",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8322,6 +8322,11 @@ preserve@^0.2.0:
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
integrity sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=

prettier@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.2.tgz#1ba8f3eb92231e769b7fcd7cb73ae1b6b74ade08"
integrity sha512-5xJQIPT8BraI7ZnaDwSbu5zLrB6vvi8hVV58yHQ+QK64qrY40dULy0HSRlQ2/2IdzeBpjhDkqdcFBnFeDEMVdg==

pretty-hrtime@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1"
Expand Down

0 comments on commit d0e6e34

Please sign in to comment.