Skip to content

Commit f31edca

Browse files
committed
Fix clean-css and postcss deps
1 parent ad69edd commit f31edca

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ target/
1818
# Node
1919
node_modules/
2020
npm-debug.log
21+
yarn-error.log
2122

2223
# Istanbul
2324
coverage/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"devDependencies": {
6363
"autoprefixer": "^6.7.7",
6464
"browserify": "^14.1.0",
65-
"clean-css": "^4.0.9",
65+
"clean-css-cli": "^4.0.9",
6666
"codacy-coverage": "^2.0.1",
6767
"eslint": "^3.18.0",
6868
"eslint-plugin-promise": "^3.5.0",

scripts/release-website.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ rm -rf ${OUTPUT_DIR}
2424
mkdir -p ${OUTPUT_DIR}
2525

2626
echo "Minifying ${OUTPUT_CSS_FILE} to ${OUTPUT_MIN_CSS_FILE}"
27-
postcss --use autoprefixer ${INPUT_CSS_FILE} -d ${OUTPUT_DIR}
27+
postcss --use autoprefixer -o ${OUTPUT_CSS_FILE} ${INPUT_CSS_FILE}
2828
cleancss --advanced --compatibility=ie8 -o ${OUTPUT_MIN_CSS_FILE} ${OUTPUT_CSS_FILE}
2929

3030
echo "Generating website js aggregation file in ${OUTPUT_DEMO_JS}"

yarn.lock

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,6 +499,13 @@ circular-json@^0.3.0:
499499
version "0.3.1"
500500
resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.1.tgz#be8b36aefccde8b3ca7aa2d6afc07a37242c0d2d"
501501

502+
clean-css-cli@^4.0.9:
503+
version "4.0.9"
504+
resolved "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-4.0.9.tgz#fac3b8d052debe10e75a1ffe57aa48dab5351bf6"
505+
dependencies:
506+
clean-css "^4.0.9"
507+
commander "2.x"
508+
502509
clean-css@^4.0.9:
503510
version "4.0.9"
504511
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:
575582
dependencies:
576583
delayed-stream "~1.0.0"
577584

578-
commander@2.9.0, commander@^2.9.0:
585+
commander@2.9.0, commander@2.x, commander@^2.9.0:
579586
version "2.9.0"
580587
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
581588
dependencies:

0 commit comments

Comments
 (0)