Skip to content

Instantly share code, notes, and snippets.

@hmrtk
Created May 5, 2015 16:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hmrtk/fb07a8a5c97f421b42ea to your computer and use it in GitHub Desktop.
Save hmrtk/fb07a8a5c97f421b42ea to your computer and use it in GitHub Desktop.
Sublime Project Setting for Angular Project using Karma as Test Runner
{
"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"
}]
}
@wonjun27
Copy link

wonjun27 commented May 5, 2015

Thank you @hmrtk for making the internet a better place.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment