Skip to content
Browse files

Merge branch 'component' of git://github.com/djanowski/bean

  • Loading branch information...
2 parents 732d6db + c165396 commit b9438cf73f4f45f9ad1ca4d344ebab021faeca77 @rvagg rvagg committed
Showing with 23 additions and 2 deletions.
  1. +2 −1 .gitignore
  2. +12 −1 Makefile
  3. +9 −0 component.json
View
3 .gitignore
@@ -1,2 +1,3 @@
-node_modules
*.swp
+node_modules
+/build
View
13 Makefile
@@ -1,2 +1,13 @@
+build: boosh components
+
boosh:
- node make/build.js
+ node make/build.js
+
+components:
+ @echo '{' > component.json
+ @egrep '(name|description|version|keywords)' package.json >> component.json
+ @echo ' , "main": "bean.js"' >> component.json
+ @echo ' , "scripts": ["bean.js"]' >> component.json
+ @echo ' , "repo": "https://github.com/fat/bean"' >> component.json
+ @echo '}' >> component.json
+ component build
View
9 component.json
@@ -0,0 +1,9 @@
+{
+ "name": "bean"
+ , "description": "A small, fast, framework-agnostic event manager"
+ , "version": "1.0.2"
+ , "keywords": [ "ender", "events", "event", "dom" ]
+ , "main": "bean.js"
+ , "scripts": ["bean.js"]
+ , "repo": "https://github.com/fat/bean"
+}

0 comments on commit b9438cf

Please sign in to comment.
Something went wrong with that request. Please try again.