1
0
mirror of https://github.com/jenil/chota.git synced 2023-08-10 21:13:07 +03:00

Merge 9f2b81bf6544675a352e2f2ea89d211f705adc84 into 06a46fbec358fc6e28a20b73cdda8e55a8fdeada

This commit is contained in:
lionel-rowe 2022-03-06 07:35:27 +05:30 committed by GitHub
commit a0af605c4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 437 additions and 508 deletions

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"start": "run-p docs watch", "start": "run-p docs watch",
"docs": "jekyll s -s docs", "docs": "jekyll s -s docs",
"build": "rimraf dist/* && yarn postcss && cross-env NODE_ENV=production yarn postcss --ext .min.css && gzip -c dist/chota.min.css | wc -c | xargs echo 'Size:'", "build": "rimraf dist/* && yarn postcss && cross-env VARIANT=100 yarn postcss --ext .100.css && cross-env VARIANT=100 NODE_ENV=production yarn postcss --ext .100.min.css && cross-env NODE_ENV=production yarn postcss --ext .min.css && gzip -c dist/chota.min.css | wc -c | xargs echo 'Size:'",
"postcss": "postcss ./src/chota.css -d dist/", "postcss": "postcss ./src/chota.css -d dist/",
"watch": "cross-env NODE_ENV=development yarn postcss -w", "watch": "cross-env NODE_ENV=development yarn postcss -w",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
@ -32,9 +32,11 @@
"cross-env": "^7.0.2", "cross-env": "^7.0.2",
"cssnano": "^4.1.7", "cssnano": "^4.1.7",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss-cli": "^7.1.1", "postcss": "^8.4.6",
"postcss-cli": "^9.1.0",
"postcss-csso": "^4.0.0", "postcss-csso": "^4.0.0",
"postcss-import": "^12.0.1", "postcss-import": "^12.0.1",
"postcss-revert-rem-size": "^0.2.0",
"rimraf": "^3.0.0" "rimraf": "^3.0.0"
}, },
"files": [ "files": [

View File

@ -11,6 +11,11 @@ if (process.env.NODE_ENV == "production")
}) })
); );
if (process.env.VARIANT == "100")
plugins.push(
require("postcss-revert-rem-size")({})
);
module.exports = { module.exports = {
plugins plugins
}; };

934
yarn.lock

File diff suppressed because it is too large Load Diff