|
6 | 6 | "style": "checka11y.css", |
7 | 7 | "scripts": { |
8 | 8 | "prepublishOnly": "git-branch-is master && is-git-status-clean", |
9 | | - "build": "npm run lint:fix && npm run build:errors-and-warnings && npm run build:errors-only && npm run build:warnings-only", |
10 | | - "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", |
11 | | - "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", |
12 | | - "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", |
| 9 | + "build": "npm run build:expanded && npm run build:minify", |
| 10 | + "build:expanded": "npm run build:expanded:main && npm run build:expanded:errors && npm run build:expanded:warnings", |
| 11 | + "build:expanded:main": "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", |
| 12 | + "build:expanded:errors": "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", |
| 13 | + "build:expanded:warnings": "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", |
| 14 | + "build:minify": "npm run build:minify:main && npm run build:minify:errors && npm run build:minify:warnings", |
| 15 | + "build:minify:main": "cleancss --batch --batch-suffix .min checka11y.css", |
| 16 | + "build:minify:errors": "cleancss --batch --batch-suffix .min checka11y-errors.css", |
| 17 | + "build:minify:warnings": "cleancss --batch --batch-suffix .min checka11y-warnings.css", |
14 | 18 | "lint:check": "stylelint \"**/*.scss\" --max-warnings=0 --ignore-path .gitignore", |
15 | 19 | "lint:fix": "stylelint \"**/*.scss\" --max-warnings=0 --ignore-path .gitignore --fix", |
16 | 20 | "test": "cypress run", |
|
0 commit comments