Skip to content

Commit

Permalink
primary
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvin Metcalf committed Sep 25, 2013
1 parent 3d297f2 commit ef394d3
Show file tree
Hide file tree
Showing 8 changed files with 726 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .jshintrc
@@ -0,0 +1,14 @@
{
"curly": true,
"eqeqeq": true,
"latedef": "nofunc",
"undef": true,
"unused": true,
"trailing":true,
"camelcase":true,
"quotmark":"single",
"globals": {
"module":true,
"require":true
}
}
48 changes: 48 additions & 0 deletions Gruntfile.js
@@ -0,0 +1,48 @@
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
component: {
build:{
options: {
args: {
out: 'dist',
name: '<%= pkg.name %>',
//"no-require":true,
standalone:'liar'
}
}}
},
uglify: {
options: {
report: 'gzip',
mangle: {
except: ['Promise']
}
},
all: {
src: 'dist/<%= pkg.name %>.js',
dest: 'dist/<%= pkg.name %>.min.js'
}
},
jshint: {
options: {
jshintrc: "./.jshintrc"
},
all: ['lib/*.js']
}

});
grunt.loadNpmTasks('grunt-component');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('test',function(){
var done = this.async();
test(function(err){
if(err){
grunt.log.error(err);
}
done();
});
});
grunt.registerTask('default', ['jshint','component','uglify']);
};
18 changes: 18 additions & 0 deletions Readme.md
@@ -0,0 +1,18 @@

# liar

a toolbelt of deceit

## Installation

Install with [component(1)](http://component.io):

$ component install calvinmetcalf/liar

## API



## License

MIT
17 changes: 17 additions & 0 deletions component.json
@@ -0,0 +1,17 @@
{
"name": "liar",
"repo": "calvinmetcalf/liar",
"description": "a toolbelt of deceit",
"version": "0.0.1",
"keywords": [],
"dependencies": {
"calvinmetcalf/lie": "2.0.1"
},
"development": {},
"license": "MIT",
"main": "lib/index.js",
"scripts": [
"lib/index.js"
],
"remotes": []
}

0 comments on commit ef394d3

Please sign in to comment.