From f2ffee1833c3e62e13ccf59ca80c755516df3aef Mon Sep 17 00:00:00 2001 From: PanierAvide Date: Thu, 2 Apr 2020 10:12:43 +0200 Subject: [PATCH] Update package.json --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 47c8f12..cc526ba 100644 --- a/package.json +++ b/package.json @@ -4,14 +4,15 @@ "description": "Rules for opening hours during Covid-19 lockdown", "main": "compatibility.js", "scripts": { - "compat:fr": "node compatibility.js" + "compat:fr": "node compatibility.js", + "precommit": "npm run compat:fr && git add regles.csv" }, "repository": { "type": "git", "url": "git+https://github.com/PanierAvide/Covid_enseignes.git" }, "pre-commit": [ - "compat:fr" + "precommit" ], "author": "Adrien PAVIE", "license": "GPL-3.0",