Skip to content

Instantly share code, notes, and snippets.

@kenold
Created October 17, 2019 15:18
Show Gist options
  • Save kenold/dd40f94659d10270714ebf7c5dcc758f to your computer and use it in GitHub Desktop.
Save kenold/dd40f94659d10270714ebf7c5dcc758f to your computer and use it in GitHub Desktop.
Node Sass Starter
{
"name": "site-name",
"version": "1.0.0",
"description": "Site Description",
"main": "index.js",
"scripts": {
"watch:sass": "node-sass sass/main.scss css/style.css -w",
"devserver": "live-server",
"start": "npm-run-all --parallel devserver watch:sass",
"compile:sass": "node-sass sass/main.scss css/style.comp.css",
"prefix:css": "postcss --use autoprefixer -b 'last 10 versions' css/style.comp.css -o css/style.prefix.css",
"compress:css": "node-sass css/style.prefix.css css/style.css --output-style compressed",
"build:css": "npm-run-all compile:sass prefix:css compress:css"
},
"author": "Kenold Beauplan",
"license": "ISC",
"devDependencies": {
"autoprefixer": "^7.1.4",
"concat": "^1.0.3",
"node-sass": "^4.5.3",
"npm-run-all": "^4.1.1",
"postcss-cli": "^4.1.1"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment