You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sure many people have stumbled upon this: I have a script named 'build-js', I want to try out a new build module, I want to comment it out, add a new script with the same name, try out npm run build pipeline. Comments are not allowed in JSON.
Expected Behavior
Would be nice if, much like eslint, npm would support package.js in the absence of package.json. Obviously it would take a "bit" of time for other tools to adapt, but long term having JS config would work better in some cases (removing items is also easier in JS and diffs are nicer, because you can have dangling commas).
Steps To Reproduce
N/A
Environment
N/A
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
I'm sure many people have stumbled upon this: I have a script named 'build-js', I want to try out a new build module, I want to comment it out, add a new script with the same name, try out
npm run build
pipeline. Comments are not allowed in JSON.Expected Behavior
Would be nice if, much like eslint, npm would support
package.js
in the absence ofpackage.json
. Obviously it would take a "bit" of time for other tools to adapt, but long term having JS config would work better in some cases (removing items is also easier in JS and diffs are nicer, because you can have dangling commas).Steps To Reproduce
N/A
Environment
N/A
The text was updated successfully, but these errors were encountered: