diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 0000000..70bcff8 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,3 @@ +{ + "extends": "loopback" +} diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..ecf6d68 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +sudo: false +language: node_js +node_js: + - "0.10" + - "0.12" + - "4" + - "6" diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..09b1735 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,25 @@ +Copyright (c) IBM Corp. 2016. All Rights Reserved. +Node module: strong-error-handler +This project is licensed under the MIT License, full text below. + +-------- + +MIT license + +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 index 79b3e55..d88f1c2 100644 --- a/README.md +++ b/README.md @@ -1 +1,7 @@ -# strong-error-handler \ No newline at end of file +# strong-error-handler + +# Install + +```bash +$ npm install strong-error-handler +``` diff --git a/package.json b/package.json new file mode 100644 index 0000000..06cfe0a --- /dev/null +++ b/package.json @@ -0,0 +1,20 @@ +{ + "name": "strong-error-handler", + "description": "Strong Loop Error Handler in Production", + "license": "MIT", + "version": "1.0.0", + "repository": { + "type": "git", + "url": "https://github.com/strongloop/strong-error-handler.git" + }, + "scripts": { + "lint": "eslint .", + "posttest": "npm run lint" + }, + "dependencies": { + }, + "devDependencies": { + "eslint": "^2.5.3", + "eslint-config-loopback": "^1.0.0" + } +}