Skip to content

Commit

Permalink
Add prettier as a dev dependency (#135)
Browse files Browse the repository at this point in the history
Previously, the project depended on prettier, but it was not listed
as a dev dependency, so the project was expecting it to be
installed globally, which is not a reasonable expectation. This
commit adds the package as a dev dependency so that the git hooks
defined in husky can run properly without a global dependency.
  • Loading branch information
getsnoopy authored Dec 7, 2020
1 parent f2bfb40 commit 1048042
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
"expect.js": "0.3.1",
"husky": "0.14.3",
"lint-staged": "5.0.0",
"mocha": "4.0.1"
"mocha": "4.0.1",
"prettier": "2.0.5"
}
}

0 comments on commit 1048042

Please sign in to comment.