This repository has been archived by the owner on Nov 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vadim Kadnikov
committed
Apr 3, 2015
0 parents
commit 3f856ea
Showing
32 changed files
with
5,100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
bower_components | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**It's not ready for production yet :(** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} |
Oops, something went wrong.