-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 285c6d9
Showing
7 changed files
with
3,453 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "eslint:recommended", | ||
"ecmaFeatures": { | ||
"modules": true | ||
}, | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
components | ||
node_modules | ||
*.log | ||
.DS_Store | ||
build.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
DUO = node_modules/.bin/duo | ||
ESLINT = node_modules/.bin/eslint | ||
|
||
SRC = lib/index.js | ||
|
||
|
||
node_modules: package.json $(wildcard node_modules/*/package.json) | ||
@npm install | ||
|
||
|
||
clean: | ||
rm -rf build.js | ||
.PHONY: clean | ||
|
||
|
||
distclean: clean | ||
rm -rf components node_modules | ||
.PHONY: distclean | ||
|
||
|
||
build.js: node_modules component.json $(SRC) | ||
@$(DUO) --use duo-babel --stdout lib/index.js > $@ | ||
|
||
|
||
build: build.js | ||
.DEFAULT_GOAL = build | ||
|
||
|
||
lint: node_modules | ||
@$(ESLINT) $(SRCS) $(TESTS) | ||
.PHONY: lint |
Oops, something went wrong.