Skip to content

Commit 28299cb

Browse files
authored
Merge pull request #7 from uphold/support/prepare-to-open-source
Prepare to open source
2 parents 488cd9f + fe9d9e3 commit 28299cb

File tree

4 files changed

+30
-13
lines changed

4 files changed

+30
-13
lines changed

.npmignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!src

LICENSE

+21-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,21 @@
1-
(c) Copyright 2017 Uphold, Inc. All rights reserved.
1+
MIT License
2+
3+
Copyright (c) 2018 Uphold
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+6-10
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,16 @@ This module provides a set of errors based on [standard-http-error](https://www.
44

55
## Setup
66

7-
Add **@uphold/http-errors** to *package.json* dependencies with the latest version:
7+
Install **@uphold/http-errors** with yarn:
88

9-
```json
10-
{
11-
"dependencies": {
12-
"@uphold/http-errors": "git+ssh://[email protected]/uphold/http-errors#v1.0.0"
13-
}
14-
}
9+
```sh
10+
$ yarn add @uphold/http-errors
1511
```
1612

17-
Install it afterwards:
13+
Alternatively, with npm:
1814

1915
```sh
20-
$ yarn
16+
$ npm i @uphold/http-errors
2117
```
2218

2319
## Errors
@@ -137,4 +133,4 @@ $ yarn release [<version> | major | minor | patch]
137133

138134
## License
139135

140-
[Private](/LICENSE)
136+
MIT

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,5 @@
2828
},
2929
"engines": {
3030
"node": ">=4"
31-
},
32-
"private": true
31+
}
3332
}

0 commit comments

Comments
 (0)