Permalink
Browse files

add --dev build

  • Loading branch information...
1 parent b15c928 commit a63de129e8dea572701b6b78fb1f110897d37f4c @tj tj committed Nov 12, 2012
Showing with 9 additions and 5 deletions.
  1. +3 −3 Makefile
  2. +4 −1 component.json
  3. +2 −1 test/index.html
View
@@ -1,9 +1,9 @@
-build: index.js
- @component build
+build: index.js components
+ @component build --dev
components:
- @component install
+ @component install --dev
clean:
rm -fr build components
View
@@ -3,5 +3,8 @@
"version": "0.1.0",
"description": "turn HTML into DOM elements",
"keywords": ["dom", "html", "client", "browser", "component"],
- "scripts": ["index.js"]
+ "scripts": ["index.js"],
+ "development": {
+ "visionmedia/mocha-cloud": "*"
+ }
}
View
@@ -16,8 +16,9 @@
<script src="../build/build.js"></script>
<script src="domify.js"></script>
<script>
+ var cloud = require('visionmedia-mocha-cloud');
if (window.mochaPhantomJS) mochaPhantomJS.run()
- else mocha.run();
+ else cloud(mocha.run());
</script>
</body>
</html>

0 comments on commit a63de12

Please sign in to comment.