mirror of
https://github.com/feathericons/feather.git
synced 2023-08-10 21:13:24 +03:00
chore: Add lint script
This commit is contained in:
parent
0e70a99e8a
commit
998b2e9add
7
Makefile
7
Makefile
@ -1,9 +1,12 @@
|
|||||||
src_files := src/*.js
|
src_files := src/*.js
|
||||||
src_dir := src
|
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
|
build: dist/feather.js dist/feather.min.js
|
||||||
|
|
||||||
|
@ -7,6 +7,8 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"all": "make",
|
||||||
|
"lint": "make lint",
|
||||||
"build": "make build",
|
"build": "make build",
|
||||||
"commitmsg": "validate-commit-msg",
|
"commitmsg": "validate-commit-msg",
|
||||||
"cm": "git-cz",
|
"cm": "git-cz",
|
||||||
|
Loading…
Reference in New Issue
Block a user