JS notes¶
Starting a new project
1 |
|
Adding a dependency
1 2 3 |
|
Adding a dependency to different categories of dependencies
Add to devDependencies, peerDependencies, and optionalDependencies respectively:
1 2 3 |
|
Upgrading a dependency
1 2 3 |
|
Removing a dependency
1 |
|
Installing all the dependencies of project
1 2 3 |
|