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",