環境によってはsudoを付ける。
$ (sudo) npm install -g less
Node.jsを入れてない場合はこちらを参考に。
{ | |
"cmd": "haml", | |
"selector": "source.haml", | |
"working_dir": "${file_path}", | |
"windows": | |
{ | |
"cmd": ["haml.bat", "$file", "$file_path/$file_base_name.html"] | |
}, |
{ | |
"name": "example", | |
"version": "0.0.1", | |
"description": "An example Jam package", | |
"dependencies": { | |
"async": "0.1.22", | |
"uglify-js": "1.3.4" | |
, "jshint": "0.9.1" | |
, "recess": "1.1.6" | |
, "connect": "2.1.3" |
requirejs.config({ | |
baseUrl: 'js', | |
paths: { | |
jquery: ['//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min','jquery.min'], | |
bootstrap: 'bootstrap.min' | |
}, | |
shim: { | |
'bootstrap':{deps: ['jquery']} | |
} | |
}); |
{ | |
"cmd": ["lessc", "$file", "${file_path}/${file_base_name}.css", "--verbose"], | |
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)", | |
"selector": "source.css.less", | |
"osx": | |
{ | |
"path": "/usr/local/bin:$PATH" | |
}, |
@mixin boxit ($dir) { | |
display:box; | |
display:-moz-box; | |
display:-webkit-box; | |
box-orient:$dir; | |
-moz-box-orient:$dir; | |
-webkit-box-orient:$dir; | |
} | |
@mixin order ($num) { |