Motivation ("The Why")
As more devs are going to use esm, while the default is commonjs. users have to manually add the field after creating.
Example
How
Current Behaviour
package name: (xxx)
version: (1.0.0)
description:
entry point: (index.js)
test command:
git repository:
keywords:
license: (ISC)
Desired Behaviour
package name: (xxx)
version: (1.0.0)
description:
type: commonjs/module ----- new added item.
entry point: (index.js)
test command:
git repository:
keywords:
license: (ISC)
References
Motivation ("The Why")
As more devs are going to use esm, while the default is commonjs. users have to manually add the field after creating.
Example
How
Current Behaviour
package name: (xxx) version: (1.0.0) description: entry point: (index.js) test command: git repository: keywords: license: (ISC)Desired Behaviour
package name: (xxx) version: (1.0.0) description: type: commonjs/module ----- new added item. entry point: (index.js) test command: git repository: keywords: license: (ISC)References