This commit is contained in:
Jaime Pillora
2013-05-28 14:53:03 +10:00
parent bf10526e56
commit 2e1e3b6cdf
5 changed files with 12 additions and 16 deletions
+2 -3
View File
@@ -3,10 +3,9 @@ fs = require("fs")
#global module:false #global module:false
module.exports = (grunt) -> module.exports = (grunt) ->
# Project configuration. # Project configuration.
grunt.initConfig grunt.initConfig
pkg: grunt.file.readJSON('component.json') pkg: grunt.file.readJSON('package.json')
banner: banner:
"/** <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today(\"yyyy/mm/dd\") %>\n"+ "/** <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today(\"yyyy/mm/dd\") %>\n"+
" * <%= pkg.homepage %>\n" + " * <%= pkg.homepage %>\n" +
@@ -42,7 +41,7 @@ module.exports = (grunt) ->
grunt.loadNpmTasks "grunt-contrib-watch" grunt.loadNpmTasks "grunt-contrib-watch"
grunt.loadNpmTasks "grunt-contrib-uglify" grunt.loadNpmTasks "grunt-contrib-uglify"
grunt.loadNpmTasks "grunt-contrib-coffee" grunt.loadTasks "./node_modules/grunt-contrib-coffee/tasks"
grunt.loadNpmTasks "grunt-wrap" grunt.loadNpmTasks "grunt-wrap"
# Default task. # Default task.
-10
View File
@@ -1,10 +0,0 @@
{
"title": "Notify.js",
"name": "notify",
"version": "0.0.1",
"author": {
"name": "Jaime Pillora"
},
"homepage": "http://notifyjs.com/",
"license": "MIT"
}
+1 -1
View File
@@ -1,4 +1,4 @@
/** Notify.js - v0.0.1 - 2013/04/16 /** Notify.js - v0.0.1 - 2013/05/28
* http://notifyjs.com/ * http://notifyjs.com/
* Copyright (c) 2013 Jaime Pillora - MIT * Copyright (c) 2013 Jaime Pillora - MIT
*/ */
+1 -1
View File
File diff suppressed because one or more lines are too long
+7
View File
@@ -1,5 +1,12 @@
{ {
"title": "Notify.js",
"name": "notify", "name": "notify",
"version": "0.0.1",
"author": {
"name": "Jaime Pillora"
},
"homepage": "http://notifyjs.com/",
"license": "MIT",
"version":"0.0.1", "version":"0.0.1",
"devDependencies": { "devDependencies": {
"grunt": "~0.4.x", "grunt": "~0.4.x",