Skip to content
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

Add "type" description to "package.json" documentation #1204

Open
sdcaulley opened this issue Jul 22, 2024 · 1 comment · May be fixed by npm/cli#7897 or #1359
Open

Add "type" description to "package.json" documentation #1204

sdcaulley opened this issue Jul 22, 2024 · 1 comment · May be fixed by npm/cli#7897 or #1359

Comments

@sdcaulley
Copy link

Many of the fields for the package.json have description, but not type. Type needs at least a description of what are the valid options.

@kenshanta kenshanta linked a pull request Nov 5, 2024 that will close this issue
@theengineear
Copy link

theengineear commented Nov 6, 2024

I also got caught by this recently. I tried to use https://docs.npmjs.com/cli/v10/configuring-npm/package-json as a source of truth to modernize the format of my package.json file, but now I’m questioning whether that was the right place to look for this information — is there a better place to look to understand the correct keywords to use?

EDIT: Just saw that @kenshanta has a PR open on exactly this keyword. Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants