Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/a-x-/no-npm
no-npm prevents running the npm in the yarn-based projects
https://github.com/a-x-/no-npm
frontend npm yarn
Last synced: 4 days ago
JSON representation
no-npm prevents running the npm in the yarn-based projects
- Host: GitHub
- URL: https://github.com/a-x-/no-npm
- Owner: a-x-
- Created: 2018-06-24T15:49:19.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-26T12:30:55.000Z (over 4 years ago)
- Last Synced: 2024-09-23T07:17:58.355Z (about 2 months ago)
- Topics: frontend, npm, yarn
- Language: Shell
- Homepage: https://npmjs.com/package/mpn-on
- Size: 32.2 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# no-npm
Npm@5+ is still ugly, isn't it?
no-npm prevents running the npm in the `yarn.lock`-based projects.
Just add it as dev dependency and magic will be done
```sh
yarn add -D mpn-on # 😝 npm disallows npm mentions
```## Why mpn-on?!
npm disallows npm mention in the pachage names## How does it work?
1. it registers ./node_modules/.bin as PATH in the beginning
2. it providers `npm` binary## Jesus, No! npm is the best again!
Good news, we have something special for you: **[noyarn](https://github.com/a-x-/noyarn)** ✨