Skip to content

Instantly share code, notes, and snippets.

@jcherven
Created July 17, 2021 22:24
Show Gist options
  • Save jcherven/991dc69480eb2d8a0625ce6ed2d419ad to your computer and use it in GitHub Desktop.
Save jcherven/991dc69480eb2d8a0625ce6ed2d419ad to your computer and use it in GitHub Desktop.
little-sass-dev-template
{
"name": "sass-dev-template",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"watch:sass": "node-sass sass/main.scss css/style.css -w",
"devserver": "lite-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"
},
"devDependencies": {
"autoprefixer": "^7.2.6",
"concat": "^1.0.3",
"lite-server": "^2.6.1",
"node-sass": "^6.0.1",
"npm-run-all": "^4.1.5",
"postcss-cli": "^8.3.1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment