Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
stryju committed Aug 4, 2015
0 parents commit 285c6d9
Show file tree
Hide file tree
Showing 7 changed files with 3,453 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .eslintrc
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
}
}
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
components
node_modules
*.log
.DS_Store
build.js
31 changes: 31 additions & 0 deletions Makefile
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
Loading

0 comments on commit 285c6d9

Please sign in to comment.