htodcs: minor cleanup and update devDependencies.

[ci skip]
This commit is contained in:
XhmikosR 2014-05-10 09:02:56 +03:00
parent d19f676547
commit f0c3538a64
2 changed files with 7 additions and 9 deletions

View File

@ -36,13 +36,12 @@
// pack.css
var inCss = cat(["site/css/normalize.css",
"site/css/all.css",
"site/css/demo.css"
]);
"site/css/demo.css"]);
var minifier = new CleanCSS({
keepSpecialComments: 0,
compatibility: "ie8"
});
keepSpecialComments: 0,
compatibility: "ie8"
});
fs.writeFileSync("site/css/pack.css", minifier.minify(inCss), "utf8");

View File

@ -17,10 +17,10 @@
"lint": "node run-tests"
},
"dependencies": {
"clean-css": "~2.1.6",
"clean-css": "~2.1.8",
"csslint": "~0.10.0",
"jshint": "~2.4.4",
"shelljs": "~0.2.6",
"jshint": "~2.5.1",
"shelljs": "~0.3.0",
"uglify-js": "~2.4.13"
},
"jshintConfig": {
@ -36,7 +36,6 @@
"quotmark": "double",
"shelljs": true,
"strict": true,
"trailing": true,
"undef": true,
"unused": true
},