Skip to content

Instantly share code, notes, and snippets.

@IzumiSy
Created November 22, 2020 13:24
Show Gist options
  • Save IzumiSy/6f00de4b90eb5e80b58e62fddb46cf00 to your computer and use it in GitHub Desktop.
Save IzumiSy/6f00de4b90eb5e80b58e62fddb46cf00 to your computer and use it in GitHub Desktop.
Sass + Pug + Browsersync minimal packages
{
"name": "your-application",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"compile:pug": "pug src/*.pug --out dist/ --watch",
"compile:sass": "sass src/index.scss:dist/index.css --watch",
"build": "npm run compile:pug && npm run compile:sass",
"serve": "browser-sync start --server --serveStatic 'dist' --files 'dist'",
"start": "concurrently \"npm run compile:pug\" \"npm run compile:sass\" \"npm run serve\""
},
"author": "",
"license": "ISC",
"devDependencies": {
"browser-sync": "^2.26.13",
"concurrently": "^5.3.0",
"pug-cli": "^1.0.0-alpha6",
"sass": "^1.29.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment