npm-init-ex
v0.0.5
Published
npm init extended - a better `npm init`
Downloads
5
Readme
npm-init-ex
npm init extended - a better
npm init
npx npm-init-ex@latest
:sparkles: Features
Runs
npm init -y
Modifies the
package.json
- Sets version to
0.0.0
(Better fornp
) - Sets license to
MIT
- Adds
main
,bin
andfiles
fields (Assumes adist
folder) - Sets
node
inengines
to>=20
- Adds
type: "module"
- Sorts the fields
- Creates
.npmrc
withsave-exact=true