mirror of
https://github.com/jgthms/bulma.git
synced 2024-11-14 11:14:24 +00:00
Use node-sass, Use pre hook script
This commit is contained in:
parent
fcb79e1192
commit
d98fff8e83
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +1,4 @@
|
||||
.sass-cache
|
||||
.DS_Store
|
||||
node_modules
|
||||
npm-debug.log
|
||||
|
4647
css/bulma.css
vendored
4647
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
5
css/bulma.min.css
vendored
5
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
12
package.json
12
package.json
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user