Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Package.json file in Node.js

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 291
    Comment on it

    Hello Readers,

    To run the applications based on Node.js we need a "Package.json" file in the root directory. Package.json file tells the dependencies requires in the project. Without this file you cannot run the project.

    { "name" : "pong", 
    "version" : "0.6.0",
    "repository" :
      { 
      },
    "dependencies" : 
      { "socket.io" : "0.9.6", 
        "node-static" : "0.7.6" } 
    } 
    

    Where,

    "name" is the Static name of the project.

    "version" is the current version of node.

    "dependencies" is the requirements of all the modules that requires in the project.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: