Skip to content

Commit

Permalink
move bin to cli.js
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed May 20, 2018
1 parent 20b8fb6 commit f9cc2a8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions bin/detect-browsers → cli.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
'use strict'

const names = Object.keys(require('../lib/browsers'))
const names = Object.keys(require('./lib/browsers'))

const argv = require('yargs')
.usage([
Expand Down Expand Up @@ -29,7 +29,7 @@ if (argv.debug) {
require('debug').enable('win-detect-browsers')
}

const detect = require('..')
const detect = require('.')
const start = Date.now()

detect(argv._, argv, function (err, browsers, methods) {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
"author": "Vincent Weevers",
"license": "MIT",
"main": "index.js",
"bin": "./bin/detect-browsers",
"bin": "cli.js",
"files": [
"bin",
"lib",
"index.js"
"index.js",
"cli.js"
],
"scripts": {
"test": "node test.js"
Expand Down

0 comments on commit f9cc2a8

Please sign in to comment.