From 998b2e9add97e0c6bf76c004d6df5816decde16d Mon Sep 17 00:00:00 2001 From: Cole Bemis Date: Mon, 3 Jul 2017 15:19:31 -0700 Subject: [PATCH] chore: Add lint script --- Makefile | 7 +++++-- package.json | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index de3d3bc..33feb2a 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,12 @@ src_files := src/*.js src_dir := src -.PHONY: all build +.PHONY: all lint build -all: build +all: lint build + +lint: dist/icons.json + ./node_modules/.bin/eslint . build: dist/feather.js dist/feather.min.js diff --git a/package.json b/package.json index c0b4f6b..b3f9f07 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,8 @@ "dist" ], "scripts": { + "all": "make", + "lint": "make lint", "build": "make build", "commitmsg": "validate-commit-msg", "cm": "git-cz",