Managing Packages with NPM - Expand Your Project with External Packages from npm

Tell us what’s happening:
I write my json file like this:

{
 
	"name": "fcc-learn-npm-package-json",
	"dependencies": {
    "package-name": "@freecodecamp/example",
  "version": "1.1.0"
	},
	"main": "server.js",
	"scripts": {
		"start": "node server.js"
	},
	"repository": {
		"type": "git",
		"url": "https://idontknow/todo.git"
	},
  "author": "Tina Wang",
  "description": "A project that does something awesome!",
  "keywords": [ "descriptive", "related", "words","freecodecamp" ],
  "license": "MIT"

}

and this is my like of solution:
https://boilerplate-npm.yintingwang.repl.co

I am not sure what should I write in the dependencies

Your project link(s)

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36

Challenge: Managing Packages with NPM - Expand Your Project with External Packages from npm

Link to the challenge:

Your code should be `

...
"dependencies": {
	"express": "^4.14.0",
    "@freecodecamp/example": "^1.1.0",
},
...

`

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.