diff --git a/.verb.md b/.verb.md index 0055697..de4c728 100644 --- a/.verb.md +++ b/.verb.md @@ -35,7 +35,7 @@ Project is [semantically](https://semver.org) & automatically released on [Circl ## Install -This project requires [**Node.js**][nodeversion-url] **{%= engines.node %}**. Install it using [**yarn**](https://yarnpkg.com) or [**npm**](https://npmjs.com). +This project requires [**Node.js**](https://nodejs.org) **{%= engines.node %}**. Install it using [**yarn**](https://yarnpkg.com) or [**npm**](https://npmjs.com). _We highly recommend to use Yarn when you think to contribute to this project._ ```bash diff --git a/README.md b/README.md index b93e6df..e92b963 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Project is [semantically](https://semver.org) & automatically released on [Circl - [License](#license) ## Install -This project requires [**Node.js**][nodeversion-url] **^8.9.0 || ^10.6.0**. Install it using [**yarn**](https://yarnpkg.com) or [**npm**](https://npmjs.com). +This project requires [**Node.js**](https://nodejs.org) **^8.9.0 || ^10.6.0**. Install it using [**yarn**](https://yarnpkg.com) or [**npm**](https://npmjs.com). _We highly recommend to use Yarn when you think to contribute to this project._ ```bash diff --git a/src/cli.js b/cli.js similarity index 99% rename from src/cli.js rename to cli.js index 1c621f8..0d81df7 100644 --- a/src/cli.js +++ b/cli.js @@ -15,7 +15,7 @@ const esm = require('esm'); const mri = require('mri'); const esmRequire = esm(module); -const { normalizeOptions, lintText, lintFiles } = esmRequire('./index'); +const { normalizeOptions, lintText, lintFiles } = esmRequire('./src/index'); const { input, exit, warnings, extensions, reporter } = normalizeOptions(); const argv = mri(proc.argv.slice(2), { diff --git a/package.json b/package.json index e5c579e..08810f5 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "license": "Apache-2.0", "licenseStart": "2018", "scripts": { - "lint": "node src/cli.js", + "lint": "node cli.js", "test": "nyc --require esm asia", "gitadd": "git status --porcelain && git add -A", "commit-dry": "yarn gitadd && gitcommit -sS", @@ -36,9 +36,10 @@ }, "files": [ "src", - "dist" + "dist", + "cli.js" ], - "bin": "src/cli.js", + "bin": "cli.js", "main": "dist/index.js", "module": "src/index.js", "version": "0.0.0-semantically-released",