diff --git a/.gitignore b/.gitignore index 6ed8e202..5d961ecc 100644 --- a/.gitignore +++ b/.gitignore @@ -18,6 +18,7 @@ target/ # Node node_modules/ npm-debug.log +yarn-error.log # Istanbul coverage/ diff --git a/package.json b/package.json index 4d897b4d..39485a08 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/scripts/release-website.sh b/scripts/release-website.sh index e2f2ea26..841732ad 100755 --- a/scripts/release-website.sh +++ b/scripts/release-website.sh @@ -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}" diff --git a/yarn.lock b/yarn.lock index a6a1b9e7..b61f1be6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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: