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

Commit

Permalink
Established a proper build & publish pipeline to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
jameswragg committed May 15, 2018
1 parent 0e347bc commit 04e1063
Show file tree
Hide file tree
Showing 6 changed files with 2,376 additions and 12 deletions.
4 changes: 2 additions & 2 deletions bower.json
@@ -1,12 +1,12 @@
{
"name": "lazy-ads",
"version": "1.1.8",
"version": "1.1.10",
"homepage": "https://github.com/madgex/lazy-ads",
"authors": [
"James Wragg <james.wragg@madgex.com>"
],
"description": "Deliver synchronous ads asynchronously with RWD support without modifying the ad code.",
"main": "dist/lazyad-loader.js",
"main": "dist/lazyads-loader.js",
"keywords": [
"ads",
"lazy-load",
Expand Down
4 changes: 2 additions & 2 deletions dist/lazyad-loader.js
@@ -1,7 +1,7 @@
/**
* lazyad-loader v1.1.7
* lazy-ads v1.1.10
* Deliver synchronous ads asynchronously with RWD support without modifying the ad code.
* Madgex. Build date: 20-07-2015
* Madgex. Build date: 15-05-2018
*/

/* Asynchronously write javascript, even with document.write., v1.4.0 https://krux.github.io/postscribe
Expand Down
6 changes: 3 additions & 3 deletions dist/lazyad-loader.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions gruntfile.js
Expand Up @@ -14,7 +14,7 @@ module.exports = function(grunt) {
},
target: {
src: ['node_modules/postscribe/dist/postscribe.js','src/libs/*.js', 'src/lazyad-loader.js'],
dest: 'dist/<%= pkg.name %>.js'
dest: 'dist/lazyad-loader.js'
}
},
uglify: {
Expand All @@ -26,7 +26,7 @@ module.exports = function(grunt) {
banner: '<%= uglify.options.banner %>',
},
files: {
'dist/<%= pkg.name %>.min.js': ['<%= concat.target.dest %>']
'dist/lazyad-loader.min.js': ['<%= concat.target.dest %>']
}
}
},
Expand Down

0 comments on commit 04e1063

Please sign in to comment.