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 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!!
Activity
type
field for package.json v10 #1359theengineear commentedon 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!!
type
field description for package.json npm/cli#7897type
property in the package.json page? npm/cli#7965docs: add docs for package.json/type (#1687)