Skip to content

Commit

Permalink
fix(dependencies): update dependencies (#46)
Browse files Browse the repository at this point in the history
Moves `open` as a `dependency` instead of a `devDependency` since it's used at runtime.

Updates many dependencies and development dependencies.

* Closes #42 
* Closes #44 
* Closes #43 
* Closes #41 
* Closes #45 
* Closes #40
  • Loading branch information
jaebradley authored May 2, 2019
2 parents 0c9bd94 + ae2c9e8 commit 2a02251
Show file tree
Hide file tree
Showing 7 changed files with 5,267 additions and 6,267 deletions.
7 changes: 7 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"hooks": {
"pre-commit": "npm run lint",
"commit-msg": "npm run commitmsg",
"pre-push": "npm run test"
}
}
2 changes: 2 additions & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
10.15.3

1 change: 1 addition & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { extends: ['@commitlint/config-angular'] };
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
collectCoverage: true,
testEnvironment: 'node',
testPathIgnorePatterns: [
'<rootDir>/build/',
'<rootDir>/node_modules/',
],
};
11,471 changes: 5,228 additions & 6,243 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 20 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,33 +35,29 @@
"homepage": "https://github.com/jaebradley/http-status-identifier-cli#readme",
"dependencies": {
"cli-table3": "^0.5.1",
"commander": "^2.17.0",
"commander": "^2.20.0",
"http-status-identifier": "^2.0.1",
"node-emoji": "^1.8.1",
"open": "0.0.5"
"open": "^6.2.0",
"node-emoji": "^1.10.0"
},
"devDependencies": {
"@babel/cli": "^7.0.0-beta.56",
"@babel/core": "^7.0.0-beta.56",
"@babel/preset-env": "^7.0.0-beta.56",
"@commitlint/cli": "^7.0.0",
"@commitlint/config-angular": "^7.0.1",
"@commitlint/prompt": "^7.0.0",
"@commitlint/prompt-cli": "^7.0.0",
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@commitlint/cli": "^7.5.2",
"@commitlint/config-angular": "^7.5.0",
"@commitlint/prompt": "^7.5.0",
"@commitlint/prompt-cli": "^7.5.0",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.4.2",
"babel-preset-minify": "^0.4.1",
"codecov": "^3.0.4",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^13.0.0",
"eslint-plugin-import": "^2.13.0",
"husky": "^0.14.3",
"jest": "^23.4.2",
"semantic-release": "^15.9.3",
"travis-deploy-once": "^5.0.1"
},
"jest": {
"testEnvironment": "node",
"collectCoverage": true
"babel-jest": "^24.7.1",
"babel-preset-minify": "^0.5.0",
"codecov": "^3.3.0",
"eslint": "^5.16.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.17.2",
"husky": "^2.1.0",
"jest": "^24.7.1",
"semantic-release": "15.9.3",
"travis-deploy-once": "^5.0.11"
}
}
1 change: 1 addition & 0 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const cli = ({ statusIdentifiers, options }) => {
openDocumentation,
} = options;

// eslint-disable-next-line no-console
console.log(new StatusTableCreator().create(statuses, showFullInformation));

if (openDocumentation) {
Expand Down

0 comments on commit 2a02251

Please sign in to comment.