Skip to content

Commit fee99e3

Browse files
author
Ricardo Gama
committed
Release 1.0.0
0 parents  commit fee99e3

182 files changed

Lines changed: 11099 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.babelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"plugins": ["transform-object-rest-spread"],
3+
"presets": ["es2015-node"]
4+
}

.eslintrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
env:
2+
browser: true
3+
jasmine: true
4+
jest: true
5+
mocha: false
6+
7+
extends: seegno
8+
9+
rules:
10+
no-underscore-dangle: [0]
11+
id-match: ['error', '^_$|^[_a-zA-Z][_a-zA-Z0-9]*$|^[A-Z][_A-Z0-9]+[_A-Z0-9]$']

.github/CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing
2+
3+
Contributions are welcome and if you wish to make one you can just [fork](https://github.com/uphold/uphold-sdk-javascript#fork-destination-box) this repository, create a branch and submit a [Pull request](https://github.com/uphold/uphold-sdk-javascript/pulls).
4+
5+
If you want to provide some feedback please reach out to us at: <support@uphold.com>.
6+
7+
To report bugs or suggest new features, feel free to open an [Issue](https://github.com/uphold/uphold-sdk-javascript/issues), just so long as you adhere to the ordained format, that is displayed to you.
8+
9+
When submitting a [Pull request](https://github.com/uphold/uphold-sdk-javascript/pulls), make sure to add tests that ensure your feature's completeness or bug resolution, and ensure that the [Travis](https://travis-ci.org/uphold/uphold-sdk-javascript) build passes.
10+
11+
Our selected testing framework is [Jest](https://facebook.github.io/jest) and to execute the test suite just run the following command:
12+
13+
```sh
14+
$ yarn test
15+
```
16+
17+
You can also check the code coverage by running the following command:
18+
19+
```sh
20+
$ yarn cover
21+
```
22+
23+
This will output a summary of coverage data to the terminal and it will generate a more detailed coverage report that you can browse through, inside the `coverage` folder.
24+
25+
There's also a TDD script if you wish to run your code against the tests while developing. To do so, just run the following command:
26+
27+
```sh
28+
$ yarn tdd
29+
```

.github/ISSUE_TEMPLATE.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#### Description
2+
3+
A description of the feature request or bug report, with an optional background context, screenshots, etc.
4+
5+
#### Related issues
6+
7+
List any related issues and/or PRs.
8+
9+
#### Versions
10+
11+
For bug reports, state what version of the SDK you're using. You should also specify your environment by providing version numbers for your OS and Node.js/Browser.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#### Description
2+
3+
A description of the intent of the work contained on the commits, with an optional background context, screenshots, etc.
4+
5+
#### Related issues
6+
7+
List any related issues and/or PRs.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.eslintcache
2+
/coverage
3+
/node_modules

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!dist/**

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: node_js
2+
3+
matrix:
4+
include:
5+
- node_js: 4
6+
script:
7+
- node --harmony node_modules/.bin/jest --config jest.json --coverage
8+
- node_js: 5
9+
script:
10+
- yarn cover
11+
- node_js: 6
12+
script:
13+
- yarn cover
14+
- node_js: 7
15+
script:
16+
- yarn cover
17+
18+
sudo: false

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Changelog
2+
3+
## [v1.0.0](https://github.com/uphold/uphold-sdk-javascript/releases/tag/v1.0.0) (2017-05-18)

LICENSE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Copyright 2017 Uphold, Inc.
2+
3+
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:
4+
5+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6+
7+
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.

0 commit comments

Comments
 (0)