1.0.4 • Published 2 years ago

s3t v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

S3t: shortify npm commands and run them quickly

S3t is a small tool (no dependencies, 50 lines of code) to run npm commands faster.

Suppose you often type a command like the following one:

ng generate component src/module/components my-component

What if you can achieve the same result with:

npm run new:c my-component  

You can shortify the command above in your package.json like in the example below:

"new:c": "npx s3t \"ng generate component src/module/components $component\" --"

When you run it, it will ask for the component name and then launch your original command.

npm run new:c

Note that you can specify the component name inline:

npm run new:c my-component
1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago