Skip to main content

Command Palette

Search for a command to run...

Initialize package.json with default values

Published
1 min readView as Markdown
npm init -y

Creates a package.json file with the following configuration:

{
  "name": "test-app",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC"
}

More from this blog

Codedrops.tech

49 posts