Skip to content

Commit

Permalink
feat: fix missing cli bin + tweaks
Browse files Browse the repository at this point in the history
Signed-off-by: Charlike Mike Reagent <mameto2011@gmail.com>
  • Loading branch information
Charlike Mike Reagent committed Nov 1, 2018
1 parent 542f434 commit 9c834eb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 106 deletions.
2 changes: 2 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[ignore]
*./node_modules
*./dist

[include]

Expand Down
93 changes: 0 additions & 93 deletions .prettierignore

This file was deleted.

2 changes: 1 addition & 1 deletion src/cli.js → cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const proc = require('process');
const mri = require('mri');
const mkdirp = require('mkdirp');
const fastGlob = require('fast-glob');
const docks = require('../index').default;
const docks = require('./index').default;

const argv = mri(proc.argv.slice(2));
const app = docks();
Expand Down
14 changes: 6 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"all-contributors-cli": "^5.4.0",
"asia": "^0.19.7",
"eslint": "^5.8.0",
"eslint-config-esmc": "^1.0.11",
"eslint-config-esmc": "^1.0.12",
"gitcommit": "^1.0.9",
"husky": "^1.1.2",
"lint-staged": "^8.0.4",
Expand All @@ -36,11 +36,13 @@
},
"files": [
"src",
"index.js"
"index.js",
"cli.js"
],
"bin": "cli.js",
"main": "index.js",
"module": "src/index.js",
"typings": "index.d.ts",
"typings": "src/index.d.ts",
"version": "0.0.0-semantically-released",
"repository": "tunnckoCore/docks",
"homepage": "https://github.com/tunnckoCore/docks",
Expand All @@ -50,11 +52,7 @@
"tag": "latest"
},
"eslintConfig": {
"extends": "esmc",
"rules": {
"no-param-reassign": "off",
"promise/prefer-await-to-then": "off"
}
"extends": "esmc"
},
"renovate": {
"extends": "tunnckocore"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1001,10 +1001,10 @@ eslint-config-airbnb@^17.0.0:
object.assign "^4.1.0"
object.entries "^1.0.4"

eslint-config-esmc@^1.0.11:
version "1.0.11"
resolved "https://registry.yarnpkg.com/eslint-config-esmc/-/eslint-config-esmc-1.0.11.tgz#03229cafa03a222c9e0dd8facd8eeae6346f2455"
integrity sha512-9NdMtTOOhftG8RDNXDeihLHjUO9LEm+kOE4rl1lDUSPdsJ4vsgQYasyTs4apW2+5+6/cDZsJ2DCEWDZLwcuP/g==
eslint-config-esmc@^1.0.12:
version "1.0.12"
resolved "https://registry.yarnpkg.com/eslint-config-esmc/-/eslint-config-esmc-1.0.12.tgz#2c84a1416c6a5058f2bfc7028b0d98cbc0d3ebc3"
integrity sha512-uOr8XMqhxcvMOgm/Nau9TNBaJo2dRaUHG2FACBgPew2+9EqsYi28BYiSYDIoyRuaD4bEIPyOyBfa8cFxnH4sJQ==
dependencies:
babel-eslint "^10.0.0"
eslint-config-airbnb "^17.0.0"
Expand Down

0 comments on commit 9c834eb

Please sign in to comment.