Package.json modularization #52530
Closed
revskill10
started this conversation in
Ideas
Replies: 1 comment
-
npm is not maintained by Node.js, you'd need to suggest that proposal to the npm team. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Does anyone think or know how to modularize the package.json ?
My idea is like that.
We could have a folder
package.json
, inside it we can create morepackage.dev.json
,package.ui.json
,package.server.json
.Then when we run
npm i --namespace ui some-ui-package
it will add topackage.ui.json
.Also we could have a
package.scripts.json
which contains onlyscripts
.Beta Was this translation helpful? Give feedback.
All reactions