|
|
|
|
|
by alfonsodev
2699 days ago
|
|
yes, it is posible, in practice the only difference is that some commands like build, eject, build:markdown you'll have to add the word run. `yarn build` equals `npm run build` `yarn eject` equals `npm run eject` and so on ... except install, start and test which work without run. `npm install` `npm start` `npm test` There is another difference which is about the .lock file, you can delete yarn yarn.lock and keep the package-lock.json that will be generated after you run npm install. To understand how this affect you need to understand semver and how the lock file works. |
|