User Tools

Site Tools


npm_init

npm init

Return to NPM

npm init

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

It only covers the most common items, and tries to guess sensible defaults.

See `npm help init` for definitive documentation on these package.json fields and exactly what they do.

Use `npm install <pkg>` afterwards to install an NPM package and save it as an NPM dependency in the package.json file.

Press ^C at any time to quit.

package name: (devopscloud.io-pages)

version: (1.0.0) 1.0.8

description: CI-CD DevOps Automation for https://github.com/AzureCloudMonk/DevopsCloud.io-Pages

entry point: (index.js) ghpush.js

test command: grunt nodeunit

git repository: (https://github.com/AzureCloudMonk/DevopsCloud.io-Pages)

keywords: dokuwiki

author: Cloud Monk Losang Jinpa, Ph.D, MCSE-MCT, Cloud Native GitOps (https://DevOpsCloud.io)

license: (ISC)

About to write to C:\all\Dropbox\OneDrive\Coding\!Web\DevopsCloud.io-Pages\package.json:

{

 "name": "devopscloud.io-pages",
 "version": "1.0.8",
 "description": "CI-CD DevOps Automation for https://github.com/AzureCloudMonk/DevopsCloud.io-Pages",
 "main": "ghpush.js",
 "dependencies": {
   "array-flatten": "^1.1.1",
   "body-parser": "^1.19.1",
   "accepts": "^1.3.7",
   "bytes": "^3.1.1",
   "content-type": "^1.0.4",
   "cookie": "^0.4.1",
   "content-disposition": "^0.5.4",
   "cookie-signature": "^1.0.6",
   "depd": "^1.1.2",
   "debug": "^2.6.9",
   "encodeurl": "^1.0.2",
   "destroy": "^1.0.4",
   "ee-first": "^1.1.1",
   "escape-html": "^1.0.3",
   "finalhandler": "^1.1.2",
   "http-errors": "^1.8.1",
   "etag": "^1.8.1",
   "inherits": "^2.0.4",
   "express": "^4.17.2",
   "iconv-lite": "^0.4.24",
   "media-typer": "^0.3.0",
   "forwarded": "^0.2.0",
   "fresh": "^0.5.2",
   "ipaddr.js": "^1.9.1",
   "mime": "^1.6.0",
   "mime-db": "^1.51.0",
   "ms": "^2.0.0",
   "mime-types": "^2.1.34",
   "methods": "^1.1.2",
   "negotiator": "^0.6.2",
   "parseurl": "^1.3.3",
   "merge-descriptors": "^1.0.1",
   "on-finished": "^2.3.0",
   "path-to-regexp": "^0.1.7",
   "proxy-addr": "^2.0.7",
   "qs": "^6.9.6",
   "raw-body": "^2.4.2",
   "safer-buffer": "^2.1.2",
   "range-parser": "^1.2.1",
   "safe-buffer": "^5.2.1",
   "send": "^0.17.2",
   "setprototypeof": "^1.2.0",
   "statuses": "^1.5.0",
   "serve-static": "^1.14.2",
   "utils-merge": "^1.0.1",
   "toidentifier": "^1.0.1",
   "type-is": "^1.6.18",
   "unpipe": "^1.0.0",
   "vary": "^1.1.2"
 },
 "devDependencies": {},
 "scripts": {
   "test": "grunt nodeunit"
 },
 "repository": {
   "type": "git",
   "url": "git+https://github.com/AzureCloudMonk/DevopsCloud.io-Pages.git"
 },
 "keywords": [
   "dokuwiki"
 ],
 "author": "Cloud Monk Losang Jinpa, Ph.D, MCSE-MCT, Cloud Native GitOps (https://DevOpsCloud.io)",
 "license": "ISC",
 "bugs": {
   "url": "https://github.com/AzureCloudMonk/DevopsCloud.io-Pages/issues"
 },
 "homepage": "https://github.com/AzureCloudMonk/DevopsCloud.io-Pages#readme"
}

Is this OK? (yes)

npm_init.txt · Last modified: 2024/04/28 03:26 (external edit)