Advertisement
mbruns

Saving dependencies in your node package.json syntax

Jun 11th, 2022
148
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 0.31 KB | None | 0 0
  1. /*
  2. Manually add dependencies to a package.json
  3. 1. add attribute "dependencies",
  4. 2. Add dependencies name to a package.json file,
  5. 3. references the name and semantic version of each dependency
  6. */
  7. {
  8.   "name": "my_package",
  9.   "version": "1.0.0",
  10.   "dependencies": {
  11.     "my_dep": "^1.0.0",
  12.     "another_dep": "~2.2.0"
  13.   }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement