Permalink
Browse files

adding grunt + concat files

  • Loading branch information...
afshinm committed Aug 1, 2016
1 parent 77caab0 commit 153a3a07f806d667fc40343119de475985a25870
Showing with 499 additions and 3 deletions.
  1. +1 −0 .gitignore
  2. +29 −0 Gruntfile.js
  3. +2 −0 build/kissui.scrollanim.min.js
  4. +459 −0 build/scrollanim.js
  5. +1 −1 example/index.html
  6. +7 −2 package.json
View
@@ -1 +1,2 @@
bower_components
node_modules
View
@@ -0,0 +1,29 @@
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
concat: {
basic: {
src: ['./bower_components/kissui.position/position.js', './scrollanim.js'],
dest: './build/scrollanim.js',
}
},
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
},
build: {
src: './build/scrollanim.js',
dest: 'build/scrollanim.min.js'
}
}
});
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-concat');
// Default task(s).
grunt.registerTask('default', ['concat', 'uglify']);
};

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 153a3a0

Please sign in to comment.