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

add cross-env

This commit is contained in:
zulfadhli 2018-12-07 22:53:30 +08:00
parent f693e803c7
commit 982e58535f

View File

@ -5,9 +5,9 @@
"main": "dist/chota.min.css",
"scripts": {
"start": "browser-sync start --server --directory --files '**/*.css' '**/*.html'",
"build": "rm -r dist/ && yarn postcss && NODE_ENV=production yarn postcss --ext .min.css && gzip -c dist/chota.min.css | wc -c",
"build": "rm -r dist/ && yarn postcss && cross-env NODE_ENV=production yarn postcss --ext .min.css && gzip -c dist/chota.min.css | wc -c",
"postcss": "postcss ./src/chota.css -d dist/",
"watch": "NODE_ENV=development yarn postcss -w",
"watch": "cross-env NODE_ENV=development yarn postcss -w",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [