mirror of https://github.com/twbs/ratchet.git
connors
11 years ago
2 changed files with 56 additions and 0 deletions
@ -0,0 +1,30 @@
|
||||
module.exports = function(grunt) { |
||||
|
||||
// Project configuration.
|
||||
grunt.initConfig({ |
||||
pkg: grunt.file.readJSON('package.json'), |
||||
banner: '/*!\n' + |
||||
'* Ratchet v<%= pkg.version %> by @connors, @dhg, and @fat\n' + |
||||
'* Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + |
||||
'* Licensed under <%= _.pluck(pkg.licenses, "url").join(", ") %>\n' + |
||||
'*\n' + |
||||
'* Designed and built by @connors, @dhg, and @fat.\n' + |
||||
'*/\n', |
||||
uglify: { |
||||
options: { |
||||
banner: '' |
||||
}, |
||||
build: { |
||||
src: 'src/<%= pkg.name %>.js', |
||||
dest: 'build/<%= pkg.name %>.min.js' |
||||
} |
||||
} |
||||
}); |
||||
|
||||
// Load the plugin that provides the "uglify" task.
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify'); |
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['uglify']); |
||||
|
||||
}; |
@ -0,0 +1,26 @@
|
||||
{ |
||||
"name": "ratchet" |
||||
, "version": "2.0.0" |
||||
, "devDependencies": { |
||||
"grunt": "~0.4.1", |
||||
"grunt-contrib-jshint": "~0.6.3", |
||||
"grunt-contrib-nodeunit": "~0.2.0", |
||||
"grunt-contrib-uglify": "~0.2.2" |
||||
} |
||||
, "keywords": ["ratchet", "css", "ios", "prototype"] |
||||
, "homepage": "http://twbs.github.com/bootstrap/" |
||||
, "author": "Connor Sears, Dave Gamache, and Jacob Thornton" |
||||
, "repository": { |
||||
"type": "git" |
||||
, "url": "https://github.com/maker/ratchet.git" |
||||
} |
||||
, "bugs": { |
||||
"url": "https://github.com/maker/ratchet/issues" |
||||
} |
||||
, "licenses": [ |
||||
{ |
||||
"type": "MIT" |
||||
, "url": "http://www.opensource.org/licenses/MIT" |
||||
} |
||||
] |
||||
} |
Loading…
Reference in new issue