Skip to content

Commit c478cac

Browse files
committed
Switch to node-sass
1 parent d262555 commit c478cac

File tree

3 files changed

+7
-55
lines changed

3 files changed

+7
-55
lines changed

Gruntfile.js

-47
This file was deleted.

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ The site is generated using [Hakyll](https://jaspervdj.be/hakyll/). To
1515
regenerate it, run the following:
1616

1717
```
18-
$ grunt
18+
$ npm install
19+
$ npm run sass
1920
$ stack build
2021
$ stack exec site rebuild
2122
```

package.json

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
{
22
"name": "purescript-site",
33
"private": true,
4-
"devDependencies": {
5-
"grunt": "^0.4.5",
6-
"grunt-cli": "^0.1.13",
7-
"grunt-contrib-clean": "^0.6.0",
8-
"grunt-contrib-compass": "^1.0.1",
9-
"grunt-contrib-connect": "^0.8.0",
10-
"grunt-contrib-watch": "^0.6.1"
4+
"scripts": {
5+
"sass": "echo require('fs').writeFileSync('_site/css/style.css', require('node-sass').renderSync({ file: 'sass/style.scss', outputStyle: 'compressed' }).css); | node"
6+
},
7+
"dependencies": {
8+
"node-sass": "^3.5.3"
119
}
1210
}

0 commit comments

Comments
 (0)