Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Calvin Metcalf
committed
Sep 25, 2013
1 parent
3d297f2
commit ef394d3
Showing
8 changed files
with
726 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
# liar | ||
|
||
a toolbelt of deceit | ||
|
||
## Installation | ||
|
||
Install with [component(1)](http://component.io): | ||
|
||
$ component install calvinmetcalf/liar | ||
|
||
## API | ||
|
||
|
||
|
||
## License | ||
|
||
MIT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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": [] | ||
} |
Oops, something went wrong.