-
Notifications
You must be signed in to change notification settings - Fork 35
Feature Request: allow scripts to be ignored from list #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Or in general, for example, a The ntl package.json field could be expanded with a "scripts": {
"ntl": "ntl",
"precommit": "lint-staged",
"dev": "..."
},
"ntl": {
"blacklist": ["precommit", "ntl"],
"descriptions": {
"dev": "Launch dev mode"
}
} |
👍 for the blacklist option. Excluding I just wonder if this should be another key in the
or:
Example:
|
Hej @ruyadorno, would you accept a PR for that? |
sure thing! my thoughts:
|
PR is created |
It was our pleasure and we hat lots of fun working together on this 😄 |
Uh oh!
There was an error while loading. Please reload this page.
If you prefer to install npm modules locally, and run them via
npm run
, you can install ntl in this way:Then you can configure in your
package.json
:This means you don't need to install
ntl
globally, and instead you can runnpm start
to bring up the ntl options.The issue is,
ntl
will also displaystart
as one of the items in the list. It would be nice to ignore this script via a command line flag. For example:The text was updated successfully, but these errors were encountered: