+
Skip to content

sajmoni/npm-init-ex

Repository files navigation

npm-init-ex

npm init extended - a better npm init

npx npm-init-ex@latest

✨ Features

  1. Runs npm init -y

  2. Modifies the package.json

  • Sets version to 0.0.0 (Better for np)
  • Sets license to MIT
  • Adds main, bin and files fields (Assumes a dist folder)
  • Sets node in engines to >=20
  • Adds type: "module"
  • Sorts the fields
  1. Creates .npmrc with save-exact=true

About

npm init extended - a better npm init

Resources

License

Stars

Watchers

Forks

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载