Socket
Socket
Sign inDemoInstall

organize-pkg

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    organize-pkg

very simple package.json organizer


Version published
Maintainers
1
Install size
5.67 kB
Created

Readme

Source

organize package json (organize-pkg) MIT

Assists in creating package.json for production.

install

npm i organize-pkg -D

usage

organize-pkg -keys "<key>,<key>,..." [-out ./output.json]
  • out option is optional (default behavior is overwrite package.json)
# file name is output as "./dist/package.json"
>organize-pkg -keys "defs,//" -out ./dist

# file name is output as "./dist/output.json"
>organize-pkg -keys "defs,//" -out ./dist/output.json
  • Delete the devDependencies property required during development
organize-pkg -keys "devDependencies" -out ./dist
  • Remove any property
organize-pkg -keys "defs,//" -out ./dist

License

MIT

FAQs

Last updated on 08 May 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc