This commit is contained in:
connors 2013-09-11 12:31:57 -07:00
Родитель 2bb6266e35
Коммит 59046f710a
2 изменённых файлов: 57 добавлений и 0 удалений

31
Gruntfile.js Normal file
Просмотреть файл

@ -0,0 +1,31 @@
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: ''
},
gbuild: {
src: 'src/<%= pkg.name %>.js',
dest: 'build/<%= pkg.name %>.min.js'
}
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-sass');
// Default task(s).
grunt.registerTask('default', ['uglify']);
};

26
package.json Normal file
Просмотреть файл

@ -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://maker.github.com/ratchet/"
, "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"
}
]
}