Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
knor-el-snor committed Nov 5, 2018
1 parent 09cc47a commit 4fb3baa
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 4,628 deletions.
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@
language: node_js

node_js:
- "6"
- "8"
- "10"

sudo: false

before_install:
- curl -o- -L https://yarnpkg.com/install.sh | bash
- export PATH="$HOME/.yarn/bin:$PATH"

cache:
yarn: true
directories:
- "node_modules"

script:
- yarn run test:coverage
- npm run test:coverage

# Send coverage data to Coveralls
after_script: "cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js"
1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

38 changes: 19 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,40 @@
"types": "build/index.d.ts",
"scripts": {
"clean": "rimraf ./build",
"build": "yarn clean && tsc",
"build": "npm run clean && tsc",
"lint": "tslint 'src/**/*.ts'",
"test": "jest --forceExit",
"test:coverage": "jest --coverage --collectCoverageFrom=src/**/*.ts --forceExit",
"test": "jest",
"test:coverage": "jest --coverage --collectCoverageFrom=src/**/*.ts",
"test:watch": "jest --watchAll",
"pretest": "yarn build",
"prepublish": "yarn build",
"pretest": "npm run build",
"prepare": "npm run build",
"release": "node_modules/np/cli.js --no-cleanup"
},
"precommit": [
"lint"
],
"dependencies": {
"express-validation": "~1.0.2",
"http-status": "~1.1.0",
"http-status": "~1.2.0",
"i18n": "~0.8.3",
"joi": "~13.2.0",
"uuid": "~3.2.1"
"joi": "~14.0.4",
"uuid": "~3.3.2"
},
"devDependencies": {
"@types/http-status": "~0.2.30",
"@types/i18n": "~0.8.3",
"@types/jest": "~22.2.0",
"@types/uuid": "~3.4.3",
"coveralls": "^3.0.1",
"jest": "^22.1.4",
"np": "^2.20.1",
"@types/jest": "~23.3.9",
"@types/uuid": "~3.4.4",
"coveralls": "^3.0.2",
"jest": "^23.6.0",
"np": "^3.0.4",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.2",
"supertest": "^3.0.0",
"ts-jest": "^22.4.2",
"tslint": "^5.9.1",
"tslint-config-airbnb": "^5.8.0",
"typescript": "^2.8.3"
"supertest": "^3.3.0",
"ts-jest": "~22.4.6",
"tslint": "^5.11.0",
"tslint-config-airbnb": "^5.11.0",
"typescript": "^3.1.6"
},
"engines": {
"node": ">=6.0.0"
Expand All @@ -48,7 +48,7 @@
"test": "tests"
},
"keywords": [
"tree House",
"tree house",
"treehouse",
"errors"
],
Expand Down
2 changes: 1 addition & 1 deletion src/config/errors.config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const errors = {
INTERNAL_ERROR: { code: 'INTERNAL_ERROR',i18n: 'internal_error',message: 'An unkown error occurred' },
INTERNAL_ERROR: { code: 'INTERNAL_ERROR', i18n: 'internal_error', message: 'An unkown error occurred' },
INVALID_INPUT: { code: 'INVALID_INPUT', i18n: 'invalid_input', message: 'Invalid input provided' },
AUTHENTICATION_FAILED: { code: 'AUTHENTICATION_FAILED', i18n: 'authentication_failed', message: 'Authentication failed' },
BAD_REQUEST: { code: 'BAD_REQUEST', i18n: 'bad_request', message: 'Bad request' },
Expand Down
1 change: 0 additions & 1 deletion src/lib/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ export interface I18nOptions {
language?: string;
path: string;
}

0 comments on commit 4fb3baa

Please sign in to comment.