Skip to content

Commit 7d32940

Browse files
authored
Merge pull request #48 from wgolledge/feat/add-npm-tasklist-cmd
Add 'npm-tasklist' command as a longhand option for starting ntl
2 parents 871d8ce + 159cd0b commit 7d32940

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ just run it at once using **npx**:
2929
npx ntl
3030
```
3131

32+
There's also a longhand command you can run if you experience conflicts:
33+
```sh
34+
npx npm-tasklist
35+
```
36+
3237
<br />
3338

3439
## Usage
@@ -45,6 +50,12 @@ You can also specify a project folder containing a `package.json` file:
4550
ntl ./my-node-project
4651
```
4752

53+
Longhand project folder example:
54+
55+
```sh
56+
npm-tasklist ./my-node-project
57+
```
58+
4859
<br />
4960

5061
## Exclude scripts

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
{
22
"name": "ntl",
3-
"version": "3.2.4",
3+
"version": "3.2.5",
44
"description": "Npm Task List: Interactive cli menu to list/run npm tasks",
55
"repository": "ruyadorno/ntl",
66
"author": {
77
"name": "Ruy Adorno",
88
"url": "http://ruyadorno.com"
99
},
10-
"bin": "cli.js",
10+
"bin": {
11+
"ntl": "cli.js",
12+
"npm-tasklist": "cli.js"
13+
},
1114
"engines": {
1215
"node": ">=8.0.0"
1316
},

0 commit comments

Comments
 (0)