Skip to content

Commit 1048042

Browse files
authored
Add prettier as a dev dependency (#135)
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.
1 parent f2bfb40 commit 1048042

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

package-lock.json

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"expect.js": "0.3.1",
3333
"husky": "0.14.3",
3434
"lint-staged": "5.0.0",
35-
"mocha": "4.0.1"
35+
"mocha": "4.0.1",
36+
"prettier": "2.0.5"
3637
}
3738
}

0 commit comments

Comments
 (0)