npm creates a dependency on the current package with version file: when installing via prefixed npm script.
- Run
npm install- Note 0 changed files.
- Run
npm run custom-install- Note 0 changed files.
- Run
npm run --prefix="." custom-install- Note:
"my-unique-package": "file:"added topackage.json- Changes to
package-lock.json my-unique-packageinstalled innode_modules
- Changes to
- Note: