Commit 03b60f41 authored by Madhur's avatar Madhur

added grunt

parent 9151b787
_site/ _site/
.sass-cache/ .sass-cache/
.DS_STORE .DS_STORE
\ No newline at end of file node_modules
build
dist
\ No newline at end of file
module.exports = function(grunt)
{
// Project configuration.
grunt.initConfig(
{
pkg: grunt.file.readJSON('package.json'),
uglify:
{
options:
{
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
},
build:
{
files:
{
'build/emoji.min.js': ['js/app.js', 'js/config.js', 'js/emojiDirectives.js', 'js/emojiFilters.js']
}
}
},
jshint:
{
options:
{
jshintrc: '.jshintrc'
},
all: ['Gruntfile.js', 'js/*.js']
}
});
// Load the plugin that provides the "uglify" task.
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-jshint');
// Default task(s).
grunt.registerTask('default', ['uglify']);
};
{
"name": "angular-emoji-popup",
"version": "1.0.0",
"description": "Angular Emoji Popup ",
"main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server.js"
},
"repository": {
"type": "git",
"url": "https://github.com/madhur/angular-emoji-popup.git"
},
"author": "Madhur Ahuja",
"license": "ISC",
"bugs": {
"url": "https://github.com/madhur/angular-emoji-popup/issues"
},
"homepage": "https://github.com/madhur/angular-emoji-popup",
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-jshint": "^0.10.0",
"grunt-contrib-uglify": "^0.7.0"
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment