Add project infrastructure

- add license
 - scaffold basic package.json
 - setup eslint linter
 - setup Travis CI
This commit is contained in:
Miroslav Bajtoš 2016-05-11 09:29:31 +02:00
parent 04abccbbae
commit 5a8c01c2f4
5 changed files with 62 additions and 1 deletions

3
.eslintrc Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "loopback"
}

7
.travis.yml Normal file
View File

@ -0,0 +1,7 @@
sudo: false
language: node_js
node_js:
- "0.10"
- "0.12"
- "4"
- "6"

25
LICENSE.md Normal file
View File

@ -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.

View File

@ -1 +1,7 @@
# strong-error-handler
# strong-error-handler
# Install
```bash
$ npm install strong-error-handler
```

20
package.json Normal file
View File

@ -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"
}
}