Skip to content

Commit

Permalink
new ness
Browse files Browse the repository at this point in the history
  • Loading branch information
Calvin Metcalf committed Oct 16, 2013
1 parent a23ab2e commit 0ea84ad
Show file tree
Hide file tree
Showing 8 changed files with 324 additions and 501 deletions.
5 changes: 1 addition & 4 deletions .jshintrc
Expand Up @@ -7,8 +7,5 @@
"trailing":true,
"camelcase":true,
"quotmark":"single",
"globals": {
"module":true,
"require":true
}
"node":true
}
23 changes: 11 additions & 12 deletions Gruntfile.js
@@ -1,16 +1,15 @@
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'
}
}}
browserify: {
all: {
files: {
'dist/<%= pkg.name %>.js': ['lib/index.js'],
},
options: {
standalone: '<%= pkg.name %>'
}
}
},
uglify: {
options: {
Expand All @@ -32,7 +31,7 @@ module.exports = function(grunt) {
}

});
grunt.loadNpmTasks('grunt-component');
grunt.loadNpmTasks('grunt-browserify');
grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.registerTask('test',function(){
Expand All @@ -44,5 +43,5 @@ module.exports = function(grunt) {
done();
});
});
grunt.registerTask('default', ['jshint','component','uglify']);
grunt.registerTask('default', ['jshint','browserify','uglify']);
};
4 changes: 2 additions & 2 deletions component.json
Expand Up @@ -2,10 +2,10 @@
"name": "liar",
"repo": "calvinmetcalf/liar",
"description": "a toolbelt of deceit",
"version": "0.0.2",
"version": "0.0.3",
"keywords": [],
"dependencies": {
"calvinmetcalf/lie": "2.0.1"
"calvinmetcalf/lie": "2.0.6"
},
"development": {},
"license": "MIT",
Expand Down

0 comments on commit 0ea84ad

Please sign in to comment.