package.json
Learn how to generate and configure the 'package.json' file, defining the essential dependencies to host your JavaScript project on Discloud.
ποΈ What is package.json?
π οΈ How to Create package.json
1
2
npm init -yπ Structure of package.json
{
"name": "discloud",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {}
}π¦ Adding Dependencies
Last updated