Node creates a Package.json file and NPM installation via the instructions Package.json

Source: Internet
Author: User

node creates a Package.json file and NPM installation via the instructions Package.json2015-03-02 16:48 101226 People read Comments (2) favorite reports

The file describing the package is a Package.json file.

One such file, the information inside is quite big. We can give up manually. In order to practiced hand we have a command line to build such a package;

After completing the information for the Name,varsion....license entry, you will be prompted with a message.

Above is the information we fill in, we enter Yes below, the completion of the Package.json package set up.

Now let's go down this path and find our bag.

NPM installs Package.json directly to the current project directory under the command NPM install or NPM installation--save-dev, automatically installs the modules in Package.json into the Node-modules folder

Node creates a Package.json file and NPM installation via the instructions Package.json

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.