Skip to content

Commit

Permalink
Fix clean-css and postcss deps
Browse files Browse the repository at this point in the history
  • Loading branch information
rtfpessoa committed Mar 18, 2017
1 parent ad69edd commit f31edca
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ target/
# Node
node_modules/
npm-debug.log
yarn-error.log

# Istanbul
coverage/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion scripts/release-website.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
9 changes: 8 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -575,7 +582,7 @@ combined-stream@^1.0.5, combined-stream@~1.0.5:
dependencies:
delayed-stream "~1.0.0"

[email protected], commander@^2.9.0:
[email protected], commander@2.x, commander@^2.9.0:
version "2.9.0"
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
dependencies:
Expand Down

0 comments on commit f31edca

Please sign in to comment.