Created
May 5, 2015 16:31
-
-
Save hmrtk/fb07a8a5c97f421b42ea to your computer and use it in GitHub Desktop.
Sublime Project Setting for Angular Project using Karma as Test Runner
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"folders": [{ | |
"follow_symlinks": true, | |
"path": "." | |
}], | |
"settings": { | |
"detect_indentation": false, | |
"ensure_newline_at_eof_on_save": true, | |
"tab_size": 2, | |
"file_exclude_patterns": [ | |
"*.sublime-project", | |
"*.sublime-workspace", | |
"*.min.*" | |
], | |
"folder_exclude_patterns": [ | |
"node_modules", | |
"reports", | |
".git", | |
".svn" | |
], | |
"rulers": [ | |
100 | |
], | |
"translate_tabs_to_spaces": true, | |
"trim_automatic_white_space": true, | |
"trim_trailing_white_space_on_save": true | |
}, | |
"build_systems": [{ | |
"name": "test", | |
"path": "/usr/local/share/npm/bin:/usr/local/bin:$PATH", | |
"cmd": [ | |
"node_modules/karma/bin/karma", | |
"start", | |
"karma.conf.js", | |
"--no-colors", | |
"--single-run", | |
"--log-level", | |
"disable", | |
"--reporters", | |
"dots" | |
], | |
"selector": "source.js", | |
"working_dir": "$project_path" | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you @hmrtk for making the internet a better place.