lacroixdesign/node-bourbon

How to run node-bourbon in npm script ?

Closed this issue · 2 comments

How can i run node-bourbon in npm script as task, i am not using grunt or gulp, only npm scripts.

if you're using sass just point your load-path to _bourbon.scss:

"scripts": {
  "watch-sass": "sass --load-path=./node_modules/node-bourbon/node_modules/bourbon/app/assets/stylesheets/_bourbon.scss ./path/to/input.scss:./path/to/output.css" --scss --watch`
}

For anyone else still looking, this worked for me (using node-neat, which uses node-bourbon):

"scripts": {
    "build-css": "node-sass --include-path node_modules/node-neat/node_modules/node-bourbon/node_modules/bourbon/app/assets/stylesheets --include-path node_modules/node-neat/node_modules/bourbon-neat/app/assets/stylesheets src/css -o build/Content"
}