From 2bc1304403b0dce5ed6983f67e70ffb898642a2a Mon Sep 17 00:00:00 2001 From: Thomas Fritsch <tf@kumquats.fr> Date: Fri, 7 Feb 2020 16:37:45 +0100 Subject: [PATCH] A.4. scripts de build --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d1101b5..e229001 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "build": "babel js -d build", + "watch": "babel js -d build --verbose --watch --source-maps" }, "author": "thomas.fritsch@univ-lille.fr", "license": "ISC", -- GitLab