Book Image

Learning Single-page Web Application Development

Book Image

Learning Single-page Web Application Development

Overview of this book

Table of Contents (15 chapters)
Learning Single-page Web Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Creating the package.json file


Although not necessarily required at this time, we recommend that you install the Webstorm IDE, as we'll use it throughout the book.

Note that we are using the Webstorm IDE with an integrated environment with terminal, GitHub version control, and Grunt to ease our development. However, you are absolutely free to choose your own environment.

Note

From now on, when we mention terminal, we are referring to terminal Integrated WebStorm, but you can access it directly by the chosen independent editor, terminal for Mac and Linux and Command Prompt for Windows.

Webstorm is very useful when you are using a Windows environment, because Windows Command Prompt does not have the facility to copy and paste like Mac OS X on the terminal window.

Initiating the JSON file

Follow the steps to initiate the JSON file:

  1. Create a blank folder and name it as conference-api, open your terminal, and place the command:

    npm init
    

    This command will walk you through creating a package.json file...