From 1048042000b85eb406ce0f261a39cadfc8e072a5 Mon Sep 17 00:00:00 2001 From: getsnoopy Date: Mon, 7 Dec 2020 09:55:10 -0600 Subject: [PATCH] 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. --- package-lock.json | 6 ++++++ package.json | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index f4b6198..ac95f4c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1535,6 +1535,12 @@ "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", "dev": true }, + "prettier": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-2.0.5.tgz", + "integrity": "sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==", + "dev": true + }, "pretty-format": { "version": "21.2.1", "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-21.2.1.tgz", diff --git a/package.json b/package.json index c82faa6..bc89d88 100644 --- a/package.json +++ b/package.json @@ -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" } }