chore: Add lint script

This commit is contained in:
Cole Bemis 2017-07-03 15:19:31 -07:00 committed by Cole Bemis
parent 0e70a99e8a
commit 998b2e9add
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -7,6 +7,8 @@
"dist"
],
"scripts": {
"all": "make",
"lint": "make lint",
"build": "make build",
"commitmsg": "validate-commit-msg",
"cm": "git-cz",