Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

initial commit

  • Loading branch information...
commit abd649f686987af643992afd81777e6c0c809195 0 parents
@contra contra authored
3  .gitignore
@@ -0,0 +1,3 @@
+.DS_Store
+*.log
+node_modules
1  .npmignore
@@ -0,0 +1 @@
+*.log
4 CHANGELOG.md
@@ -0,0 +1,4 @@
+0.0.1 / Month Day, 2011
+==================
+
+ * Start of the project
20 LICENSE
@@ -0,0 +1,20 @@
+Copyright (c) 2011 Contra <contra@australia.edu>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
45 README.md
@@ -0,0 +1,45 @@
+**Nothing here yet**
+
+
+## Installation
+
+To install Protege, use [npm](http://github.com/isaacs/npm):
+
+ $ npm install -g APPNAME
+
+## Usage
+
+Nothing here yet
+
+## Examples
+
+You can view further examples in the [example folder.](https://github.com/Contra/APPNAME/tree/master/examples)
+
+## Contributors
+
+- [Contra](https://github.com/Contra)
+
+## LICENSE
+
+(MIT License)
+
+Copyright (c) 2011 Contra <contra@australia.edu>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
9 TODO.md
@@ -0,0 +1,9 @@
+# TODO
+
+### Minor
+
+ * Nothing here yet
+
+### Major
+
+ * Nothing here yet
2  lib/config.coffee
@@ -0,0 +1,2 @@
+module.exports =
+ something: 'nothing here yet'
18 lib/logger.coffee
@@ -0,0 +1,18 @@
+require 'colors'
+pack = require('./package').load()
+
+module.exports =
+ log: (str) ->
+ console.log str
+
+ debug: (str) ->
+ console.log '[' + pack.name.magenta, '-', 'DEBUG'.upcase().green.inverse + ']', str
+
+ info: (str) ->
+ console.log '[' + pack.name.magenta, '-', 'info'.white + ']', str
+
+ warn: (str) ->
+ console.log '[' + pack.name.magenta, '-', 'warn'.upcase().yellow + ']', str
+
+ error: (str) ->
+ console.log '[' + pack.name.magenta, '-', 'debug'.upcase().red.inverse + ']', str
2  lib/main.coffee
@@ -0,0 +1,2 @@
+module.exports =
+ log: require './logger'
11 lib/package.coffee
@@ -0,0 +1,11 @@
+fs = require 'fs'
+path = require 'path'
+
+# Singleton for the contents of package.json
+exports.load = ->
+ if !@package
+ location = path.join(__dirname, '../', 'package.json')
+ @package = JSON.parse fs.readFileSync(location)
+ return @package
+ else
+ return @package
24 package.json
@@ -0,0 +1,24 @@
+{
+ "name":"APPNAME",
+ "description":"Nothing here yet",
+ "version":"0.0.1",
+ "homepage":"http://github.com/Contra/APPNAME",
+ "repository":"git://github.com/Contra/APPNAME.git",
+ "author":"Contra <contra@australia.edu> (http://wearefractal.com/)",
+ "main":"./lib/main.coffee",
+
+ "dependencies":{
+ "coffee-script":"*",
+ "colors":"*",
+ "protege":"*"
+ },
+ "engines":{
+ "node":">= 0.4.0"
+ },
+ "licenses":[
+ {
+ "type":"MIT",
+ "url":"http://github.com/Contra/APPNAME/raw/master/LICENSE"
+ }
+ ]
+}
Please sign in to comment.
Something went wrong with that request. Please try again.