Skip to content

Commit

Permalink
Initialize project
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnucki committed Feb 26, 2017
0 parents commit 14562d7
Show file tree
Hide file tree
Showing 9 changed files with 186 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
52 changes: 52 additions & 0 deletions .gitignore
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
8 changes: 8 additions & 0 deletions .travis.yml
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
22 changes: 22 additions & 0 deletions LICENSE
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.
38 changes: 38 additions & 0 deletions README.md
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
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';

module.exports = {};
37 changes: 37 additions & 0 deletions package.json
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"
}
}
7 changes: 7 additions & 0 deletions test.js
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);
});
});

0 comments on commit 14562d7

Please sign in to comment.