Skip to content

Commit 4655ac8

Browse files
author
Ricardo Gama
committed
Add configuration files
1 parent 0260fcb commit 4655ac8

File tree

8 files changed

+2745
-0
lines changed

8 files changed

+2745
-0
lines changed

.drone.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
pipeline:
2+
test:
3+
image: node:7-alpine
4+
commands:
5+
- yarn --ignore-optional --no-emoji --no-progress
6+
- yarn lint
7+
- yarn cover

.drone.yml.sig

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
eyJhbGciOiJIUzI1NiJ9.cGlwZWxpbmU6CiAgdGVzdDoKICAgIGltYWdlOiBub2RlOjctYWxwaW5lCiAgICBjb21tYW5kczoKICAgICAgLSB5YXJuIC0taWdub3JlLW9wdGlvbmFsIC0tbm8tZW1vamkgLS1uby1wcm9ncmVzcwogICAgICAtIHlhcm4gbGludAogICAgICAtIHlhcm4gY292ZXIK.O02WZNF4wqiAVc4Z9bu36Zhd0Ru26-lUTTIqgE_M3dU

.eslintrc.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends: seegno
2+
3+
env:
4+
jasmine: true
5+
jest: true

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/.eslintcache
2+
/coverage
3+
/node_modules

LICENSE

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
(c) Copyright 2017 Uphold, Inc. All rights reserved.

jest.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"coverageReporters": [
3+
"html",
4+
"lcov",
5+
"text-summary"
6+
],
7+
"coverageThreshold": {
8+
"global": {
9+
"branches": 100,
10+
"functions": 100,
11+
"lines": 100,
12+
"statements": 100
13+
}
14+
},
15+
"testRegex": "test/.*_test.js",
16+
"verbose": true
17+
}

package.json

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "@uphold/http-errors",
3+
"version": "0.0.0",
4+
"description": "Set of errors based on http-standard-error",
5+
"license": "SEE LICENSE IN LICENSE",
6+
"author": "Uphold",
7+
"main": "src/index.js",
8+
"scripts": {
9+
"changelog": "github-changelog-generator $npm_package_options_changelog --future-release=v$npm_package_version > CHANGELOG.md",
10+
"cover": "yarn test -- --coverage",
11+
"lint": "eslint --cache bin src test",
12+
"release": "npm version $1 -m 'Release %s'",
13+
"test": "jest --config jest.json",
14+
"version": "yarn changelog && git add CHANGELOG.md"
15+
},
16+
"pre-commit": [
17+
"lint"
18+
],
19+
"dependencies": {
20+
"standard-http-error": "2.0.0"
21+
},
22+
"devDependencies": {
23+
"@uphold/github-changelog-generator": "0.4.1",
24+
"eslint": "3.19.0",
25+
"eslint-config-seegno": "9.0.0",
26+
"jest": "20.0.4",
27+
"pre-commit": "1.2.2"
28+
},
29+
"engines": {
30+
"node": ">=4"
31+
},
32+
"private": true,
33+
"options": {
34+
"changelog": "--owner uphold --repo http-errors"
35+
}
36+
}

0 commit comments

Comments
 (0)