1.0.1 • Published 8 years ago
yarn2npm v1.0.1
yarn2npm
Convert your Yarn project to NPM.
Usage
Install it:
npm install yarn2npm -gThen run this in your project:
y2nNote: It will not do anything if there are no package.json and yarn.lock.
If you want delete yarn.lock, add -d as parameter:
y2n -dHow it works?
- Detect if
package.jsonandyarn.lockexist. - Delete
yarn.lockif you specify-d. - Delete
node_modules. - Run
npm install.
License
MIT