package.json Generator

Scaffold a valid package.json.

package.json options
package.json
{
  "name": "my-package",
  "version": "1.0.0",
  "description": "A brand new package.",
  "main": "index.js",
  "scripts": {
    "start": "node index.js",
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "MIT"
}

About this tool

Fill in the fields npm cares about to produce a valid package.json you can drop into a new project.

How to use

  1. Enter name, version, description, and entry point.
  2. Add scripts and metadata as needed.
  3. Copy the generated package.json.

Examples

Field
{ "name": "my-app", "version": "1.0.0" }

Frequently asked questions

No. It only produces the JSON text. Run npm install yourself afterward.
Contact

Let’s connect

Have a Liferay or Backend project you’d like to talk through? Fill in the form and I’ll get back to you.

Book Calendar