Permalink
Browse files

Add a coffeescript skeleton

  • Loading branch information...
1 parent 974d4c7 commit 575d4e460f1911d2edd06a155227d70ad7df3c00 @ryanwilliams committed Sep 17, 2012
View
@@ -15,7 +15,7 @@ var DEFAULT_JAH_JSON = { mainModule: 'main'
, sourcePath: 'src'
, output: '.'
, assetPath: 'assets'
- , compileCoffee: true
+ , compileCoffee: false
, externalize: {}
}
@@ -0,0 +1,2 @@
+node_modules/
+build/
@@ -0,0 +1,4 @@
+{ "jahProject": { "version": "${jahVersion}" }
+, "compileCoffee": true
+, "externalize": { "jah": "jah.js" }
+}
@@ -0,0 +1,18 @@
+{
+ "name": "${appname}",
+ "author": "",
+ "description": "",
+ "version": "0.0.1",
+ "homepage": "",
+
+ "engines": {
+ "node": ">= 0.4.0"
+ },
+
+ "repository": {
+ },
+
+ "dependencies": {
+ "jah": "~${jahVersion}"
+ }
+}
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <title>${appname}</title>
+ <style type="text/css" media="screen">
+ body {
+ font-family: Helvetica, Arial, sans-serif;
+ font-size: 10pt;
+ background: #ddd;
+ }
+ h1 {
+ text-align: center;
+ text-shadow: 0 2px 1px #fff;
+ }
+ </style>
+ ${scripts}
+ </head>
+ <body>
+ <h1>${appname}</h1>
+ </body>
+</html>
@@ -0,0 +1,3 @@
+# Entry point for the application
+exports.main = ->
+ console.log("${appname} Initialized")

0 comments on commit 575d4e4

Please sign in to comment.