From 1069f813603b3c2125167280099b99db66937223 Mon Sep 17 00:00:00 2001 From: Henri Bergius Date: Sat, 26 Jan 2019 22:00:53 +0100 Subject: [PATCH] Run linter as tests --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7c9451f..deaf4c4 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,10 @@ "main": "index.js", "scripts": { "build": "webpack", - "pretest": "eslint index.js lib/*.js elements/*.js infodisplay/*.js events/*.js", + "lint": "eslint index.js lib/*.js elements/*.js infodisplay/*.js events/*.js", "dev": "webpack-dev-server", "start": "node server", - "test": "npm run build" + "test": "npm run lint" }, "author": "Henri Bergius ", "license": "MIT",