Skip to content

Commit faf9b12

Browse files
committed
Added clean-css as a peer dependency
1 parent a25b8b2 commit faf9b12

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

package-lock.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build:errors-and-warnings": "sass --no-source-map src/checka11y.scss ./checka11y.css --style=compressed && sass --no-source-map ./checka11y.css ./checka11y.css --style=expanded && npx postcss checka11y.css --use autoprefixer --replace --no-map",
1111
"build:errors-only": "sass --no-source-map src/errors/checka11y-errors.scss ./checka11y-errors.css --style=compressed && sass --no-source-map ./checka11y-errors.css ./checka11y-errors.css --style=expanded && npx postcss checka11y-errors.css --use autoprefixer --replace --no-map",
1212
"build:warnings-only": "sass --no-source-map src/warnings/checka11y-warnings.scss ./checka11y-warnings.css --style=compressed && sass --no-source-map ./checka11y-warnings.css ./checka11y-warnings.css --style=expanded && npx postcss checka11y-warnings.css --use autoprefixer --replace --no-map",
13-
"build:minify": "npm run build && cleancss --batch --batch-suffix '.min' checka11y.css checka11y-errors.css checka11y-warnings.css",
13+
"build:minify": "npm run build && cleancss --batch --batch-suffix .min checka11y.css checka11y-errors.css checka11y-warnings.css",
1414
"lint:check": "stylelint \"**/*.scss\" --max-warnings=0 --ignore-path .gitignore",
1515
"lint:fix": "stylelint \"**/*.scss\" --max-warnings=0 --ignore-path .gitignore --fix",
1616
"test": "cypress run",
@@ -70,6 +70,7 @@
7070
],
7171
"devDependencies": {
7272
"autoprefixer": "^10.4.0",
73+
"clean-css": "^5.2.2",
7374
"clean-css-cli": "^5.4.2",
7475
"cypress": "^8.7.0",
7576
"git-branch-is": "^4.0.0",

0 commit comments

Comments
 (0)