Skip to content
This repository has been archived by the owner on Jan 15, 2021. It is now read-only.

Commit

Permalink
build(prettier): Add prettier to packagejson
Browse files Browse the repository at this point in the history
  • Loading branch information
Aidurber committed Oct 14, 2018
1 parent 59b3af8 commit 6e3da89
Show file tree
Hide file tree
Showing 3 changed files with 1,114 additions and 117 deletions.
4 changes: 4 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
trailingComma: 'es5'
tabWidth: 2
semi: true
singleQuote: true
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"commit": "git-cz",
"build": "cross-env NODE_ENV=production rollup -c",
"prettier": "prettier --write {src,tests}{/**/,/}*.js",
"dev": "rollup -c -w",
"dev:production": "cross-env NODE_ENV=production rollup -c -w",
"pretest": "npm run lint && npm run build",
Expand Down Expand Up @@ -41,6 +42,7 @@
"eslint-plugin-react": "^7.4.0",
"husky": "^0.14.3",
"jest": "^23.4.1",
"prettier": "^1.14.3",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"rollup": "^0.66.0",
Expand Down
Loading

0 comments on commit 6e3da89

Please sign in to comment.