From b0b7cfe9ae498d63d8e8e7471021ad7e41ca440d Mon Sep 17 00:00:00 2001 From: nelsonic Date: Mon, 11 Sep 2017 22:10:34 +0100 Subject: [PATCH] adds basic package.json file to run pre-commit hooks see: https://github.com/dwyl/hits-elixir/issues/10 --- package.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..fc6500e --- /dev/null +++ b/package.json @@ -0,0 +1,15 @@ +{ + "scripts": { + "test": "mix test", + "cover": "mix coveralls", + "lint": "mix credo --strict", + "dogma": "mix dogma" + }, + "devDependencies": { + "pre-commit": "^1.2.2" + }, + "pre-commit": [ + "cover", + "dogma" + ] +}