Skip to content

Commit

Permalink
refactor: Cleanup and move to standard JS.
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Jun 9, 2015
1 parent 5aa409e commit 022ce59
Show file tree
Hide file tree
Showing 8 changed files with 159 additions and 305 deletions.
3 changes: 3 additions & 0 deletions .eslintrc
@@ -0,0 +1,3 @@
{
"extends": "standard"
}
117 changes: 0 additions & 117 deletions .jscs.json

This file was deleted.

101 changes: 0 additions & 101 deletions Gruntfile.coffee

This file was deleted.

20 changes: 8 additions & 12 deletions README.md
@@ -1,20 +1,16 @@
# karma-ie-launcher [![Build Status](https://travis-ci.org/karma-runner/karma-ie-launcher.svg?branch=master)](http://travis-ci.org/karma-runner/karma-ie-launcher)
# karma-ie-launcher

[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/karma-runner/karma-ie-launcher)
[![npm version](https://img.shields.io/npm/v/karma-ie-launcher.svg?style=flat-square)](https://www.npmjs.com/package/karma-ie-launcher) [![npm downloads](https://img.shields.io/npm/dm/karma-ie-launcher.svg?style=flat-square)](https://www.npmjs.com/package/karma-ie-launcher)

[![Build Status](https://img.shields.io/travis/karma-runner/karma-ie-launcher/master.svg?style=flat-square)](https://travis-ci.org/karma-runner/karma-ie-launcher) [![Dependency Status](https://img.shields.io/david/karma-runner/karma-ie-launcher.svg?style=flat-square)](https://david-dm.org/karma-runner/karma-ie-launcher) [![devDependency Status](https://img.shields.io/david/dev/karma-runner/karma-ie-launcher.svg?style=flat-square)](https://david-dm.org/karma-runner/karma-ie-launcher#info=devDependencies)

> Launcher for Internet Explorer.
## Installation

The easiest way is to keep `karma-ie-launcher` as a devDependency in your `package.json`.
```json
{
"devDependencies": {
"karma": "~0.10",
"karma-ie-launcher": "~0.1"
}
}
```
The easiest way is to keep `karma-ie-launcher` as a devDependency, by running

You can simply do it by:
```bash
npm install karma-ie-launcher --save-dev
```
Expand Down Expand Up @@ -76,4 +72,4 @@ For more information on Karma see the [homepage].

[homepage]: http://karma-runner.github.com
[Specifying legacy document modes]: http://msdn.microsoft.com/en-us/library/ie/jj676915(v=vs.85).aspx
[IE Command-Line Options]: https://msdn.microsoft.com/en-us/library/hh826025(v=vs.85).aspx
[IE Command-Line Options]: https://msdn.microsoft.com/en-us/library/hh826025(v=vs.85).aspx
54 changes: 54 additions & 0 deletions gruntfile.js
@@ -0,0 +1,54 @@
module.exports = function (grunt) {
grunt.initConfig({
pkgFile: 'package.json',
simplemocha: {
options: {
ui: 'bdd',
reporter: 'dot'
},
unit: {
src: [
'test/mocha-globals.coffee',
'test/*.spec.coffee'
]
}
},
'npm-contributors': {
options: {
commitMessage: 'chore: update contributors'
}
},
bump: {
options: {
commitMessage: 'chore: release v%VERSION%',
pushTo: 'upstream',
commitFiles: [
'package.json',
'CHANGELOG.md'
]
}
},
eslint: {
target: [
'index.js',
'gruntfile.js',
'karma.conf.js'
]
}
})

require('load-grunt-tasks')(grunt)

grunt.registerTask('test', ['simplemocha'])
grunt.registerTask('default', ['eslint', 'test'])

grunt.registerTask('release', 'Bump the version and publish to NPM.', function (type) {
grunt.task.run([
'npm-contributors',
'bump-only:' + (type || 'patch'),
'changelog',
'bump-commit',
'npm-publish'
])
})
}

0 comments on commit 022ce59

Please sign in to comment.