htodcs: minor cleanup and update devDependencies.
[ci skip]
This commit is contained in:
parent
d19f676547
commit
f0c3538a64
|
@ -36,13 +36,12 @@
|
||||||
// pack.css
|
// pack.css
|
||||||
var inCss = cat(["site/css/normalize.css",
|
var inCss = cat(["site/css/normalize.css",
|
||||||
"site/css/all.css",
|
"site/css/all.css",
|
||||||
"site/css/demo.css"
|
"site/css/demo.css"]);
|
||||||
]);
|
|
||||||
|
|
||||||
var minifier = new CleanCSS({
|
var minifier = new CleanCSS({
|
||||||
keepSpecialComments: 0,
|
keepSpecialComments: 0,
|
||||||
compatibility: "ie8"
|
compatibility: "ie8"
|
||||||
});
|
});
|
||||||
|
|
||||||
fs.writeFileSync("site/css/pack.css", minifier.minify(inCss), "utf8");
|
fs.writeFileSync("site/css/pack.css", minifier.minify(inCss), "utf8");
|
||||||
|
|
||||||
|
|
|
@ -17,10 +17,10 @@
|
||||||
"lint": "node run-tests"
|
"lint": "node run-tests"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"clean-css": "~2.1.6",
|
"clean-css": "~2.1.8",
|
||||||
"csslint": "~0.10.0",
|
"csslint": "~0.10.0",
|
||||||
"jshint": "~2.4.4",
|
"jshint": "~2.5.1",
|
||||||
"shelljs": "~0.2.6",
|
"shelljs": "~0.3.0",
|
||||||
"uglify-js": "~2.4.13"
|
"uglify-js": "~2.4.13"
|
||||||
},
|
},
|
||||||
"jshintConfig": {
|
"jshintConfig": {
|
||||||
|
@ -36,7 +36,6 @@
|
||||||
"quotmark": "double",
|
"quotmark": "double",
|
||||||
"shelljs": true,
|
"shelljs": true,
|
||||||
"strict": true,
|
"strict": true,
|
||||||
"trailing": true,
|
|
||||||
"undef": true,
|
"undef": true,
|
||||||
"unused": true
|
"unused": true
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue