Fix clean-css and postcss deps

This commit is contained in:
Rodrigo Fernandes 2017-03-18 00:20:23 +00:00
parent ad69edd48c
commit f31edcacba
No known key found for this signature in database
GPG key ID: 08E3C5F38969078E
4 changed files with 11 additions and 3 deletions

1
.gitignore vendored
View file

@ -18,6 +18,7 @@ target/
# Node
node_modules/
npm-debug.log
yarn-error.log
# Istanbul
coverage/

View file

@ -62,7 +62,7 @@
"devDependencies": {
"autoprefixer": "^6.7.7",
"browserify": "^14.1.0",
"clean-css": "^4.0.9",
"clean-css-cli": "^4.0.9",
"codacy-coverage": "^2.0.1",
"eslint": "^3.18.0",
"eslint-plugin-promise": "^3.5.0",

View file

@ -24,7 +24,7 @@ rm -rf ${OUTPUT_DIR}
mkdir -p ${OUTPUT_DIR}
echo "Minifying ${OUTPUT_CSS_FILE} to ${OUTPUT_MIN_CSS_FILE}"
postcss --use autoprefixer ${INPUT_CSS_FILE} -d ${OUTPUT_DIR}
postcss --use autoprefixer -o ${OUTPUT_CSS_FILE} ${INPUT_CSS_FILE}
cleancss --advanced --compatibility=ie8 -o ${OUTPUT_MIN_CSS_FILE} ${OUTPUT_CSS_FILE}
echo "Generating website js aggregation file in ${OUTPUT_DEMO_JS}"

View file

@ -499,6 +499,13 @@ circular-json@^0.3.0:
version "0.3.1"
resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.1.tgz#be8b36aefccde8b3ca7aa2d6afc07a37242c0d2d"
clean-css-cli@^4.0.9:
version "4.0.9"
resolved "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-4.0.9.tgz#fac3b8d052debe10e75a1ffe57aa48dab5351bf6"
dependencies:
clean-css "^4.0.9"
commander "2.x"
clean-css@^4.0.9:
version "4.0.9"
resolved "https://registry.npmjs.org/clean-css/-/clean-css-4.0.9.tgz#63ff450b3f939508cc0cd2989bb9daaedc98333e"
@ -575,7 +582,7 @@ combined-stream@^1.0.5, combined-stream@~1.0.5:
dependencies:
delayed-stream "~1.0.0"
commander@2.9.0, commander@^2.9.0:
commander@2.9.0, commander@2.x, commander@^2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
dependencies: