Skip to content

Commit f08e0e4

Browse files
authored
fix(dependencies): update dependencies (#61)
1 parent d331aa3 commit f08e0e4

File tree

10 files changed

+11432
-7532
lines changed

10 files changed

+11432
-7532
lines changed

.huskyrc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "npm run lint",
4+
"commit-msg": "npm run commitmsg",
5+
"pre-push": "npm run test"
6+
}
7+
}

.nvmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
12.14.1
2+

.travis.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,7 @@ language: node_js
22
cache:
33
directories:
44
- ~/.npm
5-
notifications:
6-
email: true
7-
node_js:
8-
- 'node'
9-
- 'lts/*'
10-
install: npm install
115
before_install:
12-
- npm install -g npm@5
136
- npm install -g greenkeeper-lockfile@1
147
jobs:
158
include:

jest.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module.exports = {
2+
testEnvironment: 'node',
3+
testPathIgnorePatterns: [
4+
'<rootDir>/build/',
5+
'<rootDir>/node_modules/',
6+
],
7+
};

package-lock.json

Lines changed: 11362 additions & 7464 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 42 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@
1010
},
1111
"global": true,
1212
"scripts": {
13-
"codecov": "codecov",
14-
"commitmsg": "commitlint -e $GIT_PARAMS",
15-
"build": "babel src/ -d build/ --delete-dir-on-start",
13+
"codecov": "npx codecov",
14+
"commitmsg": "npx commitlint -e $GIT_PARAMS",
15+
"build": "npx babel src/ -d build/ --delete-dir-on-start",
1616
"build:prod": "BABEL_ENV=production npm run build",
17-
"lint": "eslint --ext .js .",
18-
"test": "jest",
17+
"lint": "npx eslint --ext .js .",
18+
"test": "npx jest",
1919
"prepublishOnly": "npm run build:prod",
20-
"gc": "commit",
21-
"semantic-release": "semantic-release",
22-
"travis-deploy-once": "travis-deploy-once"
20+
"gc": "npx commit",
21+
"semantic-release": "npx semantic-release",
22+
"travis-deploy-once": "npx travis-deploy-once"
2323
},
2424
"repository": {
2525
"type": "git",
@@ -37,49 +37,44 @@
3737
"url": "https://github.com/jaebradley/npm-install-search-cli/issues"
3838
},
3939
"homepage": "https://github.com/jaebradley/npm-install-search-cli#readme",
40-
"jest": {
41-
"testEnvironment": "node",
42-
"testPathIgnorePatterns": [
43-
"<rootDir>/build/",
44-
"<rootDir>/node_modules/"
45-
],
46-
"collectCoverage": true
47-
},
4840
"license": "MIT",
4941
"dependencies": {
50-
"@babel/runtime": "^7.0.0-beta.46",
51-
"axios": "^0.18.0",
52-
"chalk": "^2.3.2",
42+
"@babel/runtime": "^7.8.4",
43+
"axios": "^0.19.2",
44+
"chalk": "^3.0.0",
5345
"child-process-promise": "^2.2.1",
54-
"commander": "^2.15.1",
55-
"inquirer": "^6.0.0",
56-
"inquirer-autocomplete-prompt": "^1.0.0",
57-
"npms-client": "^1.0.3"
46+
"commander": "^4.1.1",
47+
"inquirer": "^6.5.2",
48+
"inquirer-autocomplete-prompt": "^1.0.2",
49+
"npms-client": "^1.0.4"
5850
},
5951
"devDependencies": {
60-
"@babel/cli": "^7.0.0-beta.49",
61-
"@babel/core": "^7.0.0-beta.49",
62-
"@babel/plugin-proposal-object-rest-spread": "^7.0.0-beta.49",
63-
"@babel/plugin-transform-async-to-generator": "^7.0.0-beta.49",
64-
"@babel/plugin-transform-runtime": "^7.0.0-beta.49",
65-
"@babel/preset-env": "^7.0.0-beta.49",
66-
"@commitlint/cli": "^7.0.0",
67-
"@commitlint/config-angular": "^7.0.1",
68-
"@commitlint/prompt": "^7.0.0",
69-
"@commitlint/prompt-cli": "^7.0.0",
70-
"ajv": "^6.5.0",
71-
"babel-core": "^7.0.0-bridge.0",
72-
"babel-jest": "^23.0.0",
73-
"babel-preset-minify": "^0.4.0",
74-
"codecov": "^3.0.2",
75-
"eslint": "^5.0.0",
76-
"eslint-config-airbnb": "^16.1.0",
77-
"eslint-plugin-import": "^2.9.0",
78-
"eslint-plugin-jsx-a11y": "^6.0.3",
79-
"eslint-plugin-react": "^7.7.0",
80-
"husky": "^0.14.3",
81-
"jest": "^22.4.3",
82-
"semantic-release": "^15.1.4",
83-
"travis-deploy-once": "^5.0.0"
52+
"@babel/cli": "^7.8.4",
53+
"@babel/core": "^7.8.4",
54+
"@babel/plugin-proposal-object-rest-spread": "^7.8.3",
55+
"@babel/plugin-transform-async-to-generator": "^7.8.3",
56+
"@babel/plugin-transform-runtime": "^7.8.3",
57+
"@babel/preset-env": "^7.8.4",
58+
"@commitlint/cli": "^8.3.5",
59+
"@commitlint/config-angular": "^8.3.4",
60+
"@commitlint/prompt": "^8.3.5",
61+
"@commitlint/prompt-cli": "^8.3.5",
62+
"ajv": "^6.11.0",
63+
"babel-jest": "^25.1.0",
64+
"babel-preset-minify": "^0.5.1",
65+
"bufferutil": "^4.0.1",
66+
"canvas": "^2.6.1",
67+
"codecov": "^3.6.5",
68+
"eslint": "^6.8.0",
69+
"eslint-config-airbnb": "^18.0.1",
70+
"eslint-plugin-import": "^2.20.1",
71+
"eslint-plugin-jsx-a11y": "^6.2.3",
72+
"eslint-plugin-react": "^7.18.3",
73+
"eslint-plugin-react-hooks": "^1.7.0",
74+
"husky": "^4.2.3",
75+
"jest": "^25.1.0",
76+
"semantic-release": "^17.0.3",
77+
"travis-deploy-once": "^5.0.11",
78+
"utf-8-validate": "^5.0.2"
8479
}
8580
}

src/executables/nis.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import program from 'commander';
44

55
import pkg from '../../package.json';
6-
import execute from '../';
6+
import execute from '..';
77
import { npmInstall } from '../install';
88
import { buildNpmInstallOptions } from '../buildInstallOptions';
99

@@ -23,4 +23,3 @@ program.version(pkg.version)
2323

2424

2525
execute({ options: program, install: npmInstall, installOptionsBuilder: buildNpmInstallOptions });
26-

src/executables/yas.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import program from 'commander';
44

55
import pkg from '../../package.json';
6-
import execute from '../';
6+
import execute from '..';
77
import { yarnAdd } from '../install';
88
import { buildYarnAddOptions } from '../buildInstallOptions';
99

src/formatPackageDetails.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,25 @@ const formatScore = (score) => {
55

66
if (roundedScore === 100) {
77
return '💯';
8-
} else if (roundedScore > 90) {
8+
} if (roundedScore > 90) {
99
return `🥇 ${chalk.greenBright.bold(`(${roundedScore}/100)`)}`;
10-
} else if (roundedScore > 80) {
10+
} if (roundedScore > 80) {
1111
return `🥈 ${chalk.green.bold(`(${roundedScore}/100)`)}`;
12-
} else if (roundedScore > 70) {
12+
} if (roundedScore > 70) {
1313
return `🥉 ${chalk.magentaBright.bold(`(${roundedScore}/100)`)}`;
14-
} else if (roundedScore > 60) {
14+
} if (roundedScore > 60) {
1515
return `😅 ${chalk.magenta.bold(`(${roundedScore}/100)`)}`;
16-
} else if (roundedScore > 50) {
16+
} if (roundedScore > 50) {
1717
return `🤔 ${chalk.blue.bold(`(${roundedScore}/100)`)}`;
18-
} else if (roundedScore > 40) {
18+
} if (roundedScore > 40) {
1919
return `😯 ${chalk.blueBright.bold(`(${roundedScore}/100)`)}`;
20-
} else if (roundedScore > 30) {
20+
} if (roundedScore > 30) {
2121
return `🤞 ${chalk.yellow.bold(`(${roundedScore}/100)`)}`;
22-
} else if (roundedScore > 20) {
22+
} if (roundedScore > 20) {
2323
return `😳 ${chalk.yellowBright.bold(`(${roundedScore}/100)`)}`;
24-
} else if (roundedScore > 10) {
24+
} if (roundedScore > 10) {
2525
return `🙏 ${chalk.red.bold(`(${roundedScore}/100)`)}`;
26-
} else if (roundedScore > 0) {
26+
} if (roundedScore > 0) {
2727
return `🥔 ${chalk.redBright.bold(`(${roundedScore}/100)`)}`;
2828
}
2929

src/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,3 @@ const execute = async ({ options, install, installOptionsBuilder }) => {
2323
};
2424

2525
export default execute;
26-

0 commit comments

Comments
 (0)