# How to Setup npm and scss \ sass

```shell
npm init
npm install node-sass --save
mkdir -p src/styles
touch src/styles/style.scss
```

In your generated package.json add the following to your **scripts** entry

```
"scripts": {
  "compile:sass": "node-sass src/styles -o dist/styles --source-comments=false --source-map=true --output-style=compressed --error-bell",
  "watch:sass": "npm run compile:sass -- --watch",  
  "watch": "npm run watch:sass"
}
```

Then to get up and running, just do the following in your command line \ terminal

```
npm run compile:sass
npm run watch:sass
```