Created
March 19, 2021 15:50
-
-
Save nicoxxxcox/b94d94db9c1c21517689acfb6caeef4b to your computer and use it in GitHub Desktop.
npm script to compile AERIAL sass compilation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "moule2", | |
"version": "1.0.0", | |
"description": "moule asp", | |
"dependencies": { | |
"autoprefixer": "^10.2.5", | |
"node-sass": "^5.0.0", | |
"npm-run-all": "^4.1.5", | |
"postcss": "^8.2.8", | |
"postcss-cli": "^8.3.1" | |
}, | |
"scripts": { | |
"compile-sass": "node-sass build/sass/styles.scss --source-map true css/styles.css --watch", | |
"prefix-css": "postcss --use autoprefixer -b 'last 2 versions' css/styles.css -o css/styles.css", | |
"compress-css": "node-sass css/styles.css css/styles.css --output-style compressed", | |
"build-css1": "npm-run-all --sequential compile-sass prefix-css compress-css", | |
"build-css2": "node-sass build/sass/styles.scss css/styles.css --watch && postcss --use autoprefixer -b 'last 2 versions' css/styles.css -o css/styles.css && node-sass css/styles.css css/styles.css --source-map true --output-style compressed " | |
}, | |
"author": "aerial", | |
"license": "ISC" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment