-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 14562d7
Showing
9 changed files
with
186 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 80 | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
max_line_length = 0 | ||
trim_trailing_whitespace = false | ||
|
||
[COMMIT_EDITMSG] | ||
max_line_length = 0 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# OS X | ||
.DS_Store* | ||
Icon? | ||
._* | ||
|
||
# Windows | ||
Thumbs.db | ||
ehthumbs.db | ||
Desktop.ini | ||
|
||
# Linux | ||
.directory | ||
*~ | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Compiled binary addons (http://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
*.gz | ||
|
||
# Sauce Labs credentials | ||
sauce.json |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
sudo: false | ||
language: node_js | ||
node_js: | ||
- '6.0' | ||
- node | ||
script: | ||
- npm run lint | ||
- npm run test-coveralls |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Open Source Initiative OSI - The MIT License | ||
|
||
Copyright (c) 2017 Thomas Prelot | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# @gnodi/karma-gnodi | ||
|
||
[Node.js] Test your gnodi libs with karma! | ||
|
||
[![Build][build-image]][build-url] | ||
[![Coverage Status][coverage-image]][coverage-url] | ||
[![Version][version-image]][version-url] | ||
[![Downloads][downloads-image]][downloads-url] | ||
[![Dependencies][dependencies-image]][dependencies-url] | ||
[![Dev Dependencies][dev-dependencies-image]][dev-dependencies-url] | ||
|
||
## Installation | ||
|
||
Run the following command to add the package to your dev dependencies: | ||
```sh | ||
$ npm install --save-dev @gnodi/karma-gnodi | ||
``` | ||
|
||
## Use | ||
|
||
... | ||
|
||
### LICENSE | ||
|
||
[MIT](LICENSE) | ||
|
||
[build-image]: https://img.shields.io/travis/gnodi/karma-gnodi.svg?style=flat | ||
[build-url]: https://travis-ci.org/gnodi/karma-gnodi | ||
[coverage-image]:https://coveralls.io/repos/github/gnodi/karma-gnodi/badge.svg?branch=master | ||
[coverage-url]:https://coveralls.io/github/gnodi/karma-gnodi?branch=master | ||
[version-image]: https://img.shields.io/npm/v/@gnodi/karma-gnodi.svg?style=flat | ||
[version-url]: https://npmjs.org/package/@gnodi/karma-gnodi | ||
[downloads-image]: https://img.shields.io/npm/dm/@gnodi/karma-gnodi.svg?style=flat | ||
[downloads-url]: https://npmjs.org/package/@gnodi/karma-gnodi | ||
[dependencies-image]:https://david-dm.org/gnodi/karma-gnodi.svg | ||
[dependencies-url]:https://david-dm.org/gnodi/karma-gnodi | ||
[dev-dependencies-image]:https://david-dm.org/gnodi/karma-gnodi/dev-status.svg | ||
[dev-dependencies-url]:https://david-dm.org/gnodi/karma-gnodi#info=devDependencies |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
'use strict'; | ||
|
||
module.exports = {}; |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"name": "@gnodi/karma-gnodi", | ||
"description": "Test your gnodi libs with karma!", | ||
"version": "0.0.0", | ||
"author": "Thomas Prelot <[email protected]> (https://github.com/Gnucki)", | ||
"contributors": [], | ||
"keywords": [ | ||
"gnodi", | ||
"lib", | ||
"karma-gnodi" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@gnodi/eslint-config": "^0.2.0", | ||
"coveralls": "^2.11.15", | ||
"jasmine": "^2.5.2", | ||
"nyc": "^10.1.2" | ||
}, | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/gnodi/karma-gnodi" | ||
}, | ||
"main": "index", | ||
"scripts": { | ||
"check": "gnodi-lint && npm run test-coverage", | ||
"lint": "gnodi-lint", | ||
"test": "NODE_ENV='test' jasmine test.js index.js test/unit/ lib/", | ||
"test-coverage": "nyc npm test && nyc report --reporter text-summary", | ||
"test-coveralls": "nyc npm test && nyc report --reporter text-lcov | coveralls" | ||
}, | ||
"bin": {}, | ||
"engines": { | ||
"node": ">=6", | ||
"npm": ">=3" | ||
} | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
'use strict'; | ||
|
||
describe('This test', () => { | ||
it('should pass', () => { | ||
expect(true).toBe(true); | ||
}); | ||
}); |