Use node-sass, Use pre hook script

This commit is contained in:
Jeremy Thomas 2016-01-30 10:30:06 +00:00
parent fcb79e1192
commit d98fff8e83
6 changed files with 3032 additions and 1722 deletions

2
.gitignore vendored
View File

@ -1,2 +1,4 @@
.sass-cache
.DS_Store
node_modules
npm-debug.log

3725
css/bulma.css vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

3
css/bulma.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -19,5 +19,17 @@
],
"bugs": {
"url": "https://github.com/jgthms/bulma/issues"
},
"devDependencies": {
"node-sass": "~3.4.2",
"captain-git-hook": "~1.0.5"
},
"scripts": {
"build": "npm run clean && npm run build-sass && npm run build-sass-min",
"build-sass": "node-sass --output-style expanded --source-map true --output css/ bulma.sass --outFile css/bulma.css",
"build-sass-min": "node-sass --output-style compressed --source-map true --output css/ bulma.sass css/bulma.min.css",
"clean": "rm -rf css",
"pre-push": "npm run build",
"start": "npm run build-sass -- --watch"
}
}