From 14562d73efccffe2f26fb05a55ed1c21b4617ae1 Mon Sep 17 00:00:00 2001 From: Gnucki Date: Sun, 26 Feb 2017 11:55:17 +0100 Subject: [PATCH] Initialize project --- .editorconfig | 18 +++++++++++++++++ .gitattributes | 1 + .gitignore | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ .travis.yml | 8 ++++++++ LICENSE | 22 +++++++++++++++++++++ README.md | 38 ++++++++++++++++++++++++++++++++++++ index.js | 3 +++ package.json | 37 +++++++++++++++++++++++++++++++++++ test.js | 7 +++++++ 9 files changed, 186 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 .travis.yml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 index.js create mode 100644 package.json create mode 100644 test.js diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..d763873 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..176a458 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +* text=auto diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c863c52 --- /dev/null +++ b/.gitignore @@ -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 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7d905de --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +sudo: false +language: node_js +node_js: + - '6.0' + - node +script: + - npm run lint + - npm run test-coveralls diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..87095cb --- /dev/null +++ b/LICENSE @@ -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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..4133e14 --- /dev/null +++ b/README.md @@ -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 diff --git a/index.js b/index.js new file mode 100644 index 0000000..8b46fbb --- /dev/null +++ b/index.js @@ -0,0 +1,3 @@ +'use strict'; + +module.exports = {}; diff --git a/package.json b/package.json new file mode 100644 index 0000000..7ad0f2e --- /dev/null +++ b/package.json @@ -0,0 +1,37 @@ +{ + "name": "@gnodi/karma-gnodi", + "description": "Test your gnodi libs with karma!", + "version": "0.0.0", + "author": "Thomas Prelot (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" + } +} diff --git a/test.js b/test.js new file mode 100644 index 0000000..9d8ee3b --- /dev/null +++ b/test.js @@ -0,0 +1,7 @@ +'use strict'; + +describe('This test', () => { + it('should pass', () => { + expect(true).toBe(true); + }); +});