I've developed a package on npm that generates an "scss directory structure" and my goal is to include custom scripts in the package.json file located at the project's root.
MY-PROJECT
├── node_modules
├── scss
└── package.json <--
Currently, all I can do is copy a file named "package.json" to the local directory, potentially overwriting any existing file of the same name.
My intention is not to overwrite existing files, but rather to simply append scripts like "npm run watch," enabling users to jump right into their projects without manually configuring these scripts themselves.
Your assistance is greatly appreciated.