Skip to content
This repository has been archived by the owner on Jun 20, 2023. It is now read-only.

Commit

Permalink
perf: swap minimist for getopts
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgebucaran authored and nchanged committed Jul 17, 2018
1 parent d594e65 commit eb48f84
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -87,7 +87,6 @@
"ieee754": "^1.1.8",
"inquirer": "^3.0.6",
"lego-api": "^1.0.7",
"minimist": "^1.2.0",
"mustache": "^2.3.0",
"postcss": "^6.0.1",
"pretty-time": "^0.2.0",
Expand All @@ -100,7 +99,8 @@
"tslib": "^1.8.0",
"watch": "^1.0.1",
"ws": "^1.1.1",
"yargs": "^9.0.1"
"getopts": "^2.1.1",
"yargs": "9.0.1"
},
"collective": {
"type": "opencollective",
Expand All @@ -123,4 +123,4 @@
"path": "cz-conventional-changelog"
}
}
}
}
2 changes: 1 addition & 1 deletion src/cli/entry.ts
@@ -1,5 +1,5 @@
#! /usr/bin/env node
const argv = require('minimist')(process.argv.slice(2));
const argv = require('getopts')(process.argv.slice(2));
import { Install } from './Install';
import { Help } from './Help';

Expand Down

0 comments on commit eb48f84

Please sign in to comment.