Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Karl committed Nov 24, 2014
1 parent 079ee3b commit 2349137
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "project-grunt",
"version": "0.5.1",
"version": "0.5.2",
"description": "Tasks and scaffolding for an HTML project",
"main": "./libs/index.js",
"author": {
Expand All @@ -25,9 +25,9 @@
"grunt-contrib-uglify": "~0.6.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-springroll-helper": "~0.1.1",
"grunt-text-replace": "~0.3.12",
"grunt-text-replace": "~0.4.0",
"grunt-contrib-connect": "~0.9.0",
"grunt-simple-version": "~0.1.0",
"grunt-simple-version": "~0.2.0",
"load-grunt-config": "~0.16.0",
"prompt": "~0.2.13",
"lodash": "~2.4.1",
Expand Down
11 changes: 1 addition & 10 deletions tasks/version.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,6 @@ module.exports = {
options : {
'build.json' : 'version',
'bower.json' : 'version',
'deploy/index.html' : function(contents, version){
return contents.replace(
/src\=(\"|\')([^\?\n\r\"\']+)(\?v\=[a-z0-9\.]*)?(\"|\')/ig,
'src="$2?v='+version+'"'
)
.replace(
/href\=(\"|\')([^\?\n\r\"\']+\.css)(\?v\=[a-z0-9\.]*)?(\"|\')/ig,
'href="$2?v='+version+'"'
);
}
'deploy/index.html' : 'cache-bust'
}
};

0 comments on commit 2349137

Please sign in to comment.