Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dailyrandomphoto/unlink-self
Delete symbolic link(node_modules/"package-name") of current package before run npm install.
https://github.com/dailyrandomphoto/unlink-self
Last synced: about 1 month ago
JSON representation
Delete symbolic link(node_modules/"package-name") of current package before run npm install.
- Host: GitHub
- URL: https://github.com/dailyrandomphoto/unlink-self
- Owner: dailyrandomphoto
- License: mit
- Created: 2020-07-30T14:02:55.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-31T03:15:54.000Z (over 4 years ago)
- Last Synced: 2024-11-08T22:06:16.627Z (about 1 month ago)
- Language: JavaScript
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# unlink-self
[![NPM Version][npm-version-image]][npm-url]
[![LICENSE][license-image]][license-url]
[![Build Status][travis-image]][travis-url]
[![code style: prettier][code-style-prettier-image]][code-style-prettier-url]Delete symbolic link(`node_modules/"package-name"`) of current package before run `npm install`.
## Installation
```sh
npm install unlink-self
```## Usages
Add this to "`scripts`" of `package.json`.
```
"preinstall": "unlink-self 2>&1 | echo unlink-self"
```## License
Copyright (c) 2020 [dailyrandomphoto][my-url]. Licensed under the [MIT license][license-url].
[my-url]: https://github.com/dailyrandomphoto
[npm-url]: https://www.npmjs.com/package/unlink-self
[travis-url]: https://travis-ci.org/dailyrandomphoto/unlink-self
[license-url]: LICENSE
[code-style-prettier-url]: https://github.com/prettier/prettier
[npm-downloads-image]: https://img.shields.io/npm/dm/unlink-self
[npm-version-image]: https://img.shields.io/npm/v/unlink-self
[license-image]: https://img.shields.io/npm/l/unlink-self
[travis-image]: https://img.shields.io/travis/dailyrandomphoto/unlink-self
[code-style-prettier-image]: https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square