Skip to content
This repository has been archived by the owner on Nov 19, 2021. It is now read-only.

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Kadnikov committed Apr 3, 2015
0 parents commit 3f856ea
Show file tree
Hide file tree
Showing 32 changed files with 5,100 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bower_components
node_modules
89 changes: 89 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
module.exports = function (grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),

concat: {
options: {
separator: '\n'
},
dist: {
src: [
'src/js/*.js',
'src/js/**/*.js'
],
dest: 'dist/js/emoji-picker.js'
}
},

copy: {
dist: {
files: [{
expand: true,
flatten: true,
src: ['src/img/*'],
dest: 'dist/img/',
filter: 'isFile'
}, {
expand: true,
flatten: true,
src: ['src/css/emoji-picker.css'],
dest: 'dist/css/',
filter: 'isFile'
}]
}
},

cssmin: {
target: {
files: [{
expand: true,
cwd: 'dist/css',
src: ['*.css', '!*.min.css'],
dest: 'dist/css',
ext: '.min.css'
}]
}
},

uglify: {
build: {
files: {
'dist/js/emoji-picker.min.js': ['dist/js/emoji-picker.js']
},
options: {
mangle: false // prevent changes to your variable and function names.
}
}
},

watch: {
dev: {
files: [
'Gruntfile.js',
'src/css/**/*.css',
'src/js/**/*.js',
'example/index.html'
],
tasks: ['install'],
options: {
atBegin: true
}
}
}
});

grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-copy');
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch');

grunt.registerTask('install', [
'concat',
'copy',
'cssmin',
'uglify'
]);

grunt.registerTask('default', ['watch:dev']);
};
1 change: 1 addition & 0 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**It's not ready for production yet :(**
45 changes: 45 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "angular-emoji-picker",
"version": "0.0.1",
"authors": [
{
"name": "Vadim Kadnikov",
"homepage": "https://github.com/terranisu"
}
],
"description": "AngularJS Emoji picker",
"main": [],
"dependencies": {
"angular": "1.3.x",
"angular-sanitize": "1.3.x",
"angular-mocks": "1.3.x"
},
"devDependencies": {
"bootstrap": "3.x",
"angular-ui-bootstrap-bower": "0.12.x",
"angular-strap": "2.x"
},
"keywords": [
"angular",
"angularjs",
"emoji",
"picker",
"selector"
],
"license": "MIT",
"homepage": "https://github.com/terranisu/angular-emoji-picker",
"repository": {
"type": "git",
"url": "git://github.com/terranisu/angular-emoji-picker.git"
},
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"resolutions": {
"angular": "1.3.x"
}
}
Loading

0 comments on commit 3f856ea

Please sign in to comment.