Fix clean-css and postcss deps
This commit is contained in:
parent
ad69edd48c
commit
f31edcacba
4 changed files with 11 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -18,6 +18,7 @@ target/
|
||||||
# Node
|
# Node
|
||||||
node_modules/
|
node_modules/
|
||||||
npm-debug.log
|
npm-debug.log
|
||||||
|
yarn-error.log
|
||||||
|
|
||||||
# Istanbul
|
# Istanbul
|
||||||
coverage/
|
coverage/
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"autoprefixer": "^6.7.7",
|
"autoprefixer": "^6.7.7",
|
||||||
"browserify": "^14.1.0",
|
"browserify": "^14.1.0",
|
||||||
"clean-css": "^4.0.9",
|
"clean-css-cli": "^4.0.9",
|
||||||
"codacy-coverage": "^2.0.1",
|
"codacy-coverage": "^2.0.1",
|
||||||
"eslint": "^3.18.0",
|
"eslint": "^3.18.0",
|
||||||
"eslint-plugin-promise": "^3.5.0",
|
"eslint-plugin-promise": "^3.5.0",
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ rm -rf ${OUTPUT_DIR}
|
||||||
mkdir -p ${OUTPUT_DIR}
|
mkdir -p ${OUTPUT_DIR}
|
||||||
|
|
||||||
echo "Minifying ${OUTPUT_CSS_FILE} to ${OUTPUT_MIN_CSS_FILE}"
|
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}
|
cleancss --advanced --compatibility=ie8 -o ${OUTPUT_MIN_CSS_FILE} ${OUTPUT_CSS_FILE}
|
||||||
|
|
||||||
echo "Generating website js aggregation file in ${OUTPUT_DEMO_JS}"
|
echo "Generating website js aggregation file in ${OUTPUT_DEMO_JS}"
|
||||||
|
|
|
||||||
|
|
@ -499,6 +499,13 @@ circular-json@^0.3.0:
|
||||||
version "0.3.1"
|
version "0.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.1.tgz#be8b36aefccde8b3ca7aa2d6afc07a37242c0d2d"
|
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:
|
clean-css@^4.0.9:
|
||||||
version "4.0.9"
|
version "4.0.9"
|
||||||
resolved "https://registry.npmjs.org/clean-css/-/clean-css-4.0.9.tgz#63ff450b3f939508cc0cd2989bb9daaedc98333e"
|
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:
|
dependencies:
|
||||||
delayed-stream "~1.0.0"
|
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"
|
version "2.9.0"
|
||||||
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
|
resolved "https://registry.yarnpkg.com/commander/-/commander-2.9.0.tgz#9c99094176e12240cb22d6c5146098400fe0f7d4"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue