UNPKG

netlify-cli

Version:

Netlify command line tool

224 lines (223 loc) • 7.05 kB
{ "name": "netlify-cli", "description": "Netlify command line tool", "version": "20.1.1", "author": "Netlify Inc.", "type": "module", "engines": { "node": ">=18.14.0" }, "files": [ "/bin", "/npm-shrinkwrap.json", "/scripts", "/functions-templates", "/dist" ], "homepage": "https://github.com/netlify/cli", "keywords": [ "api", "cli", "netlify", "static" ], "license": "MIT", "repository": "https://github.com/netlify/cli", "bin": { "ntl": "./bin/run.js", "netlify": "./bin/run.js" }, "bugs": { "url": "https://github.com/netlify/cli/issues" }, "scripts": { "_format": "prettier --loglevel=warn \"{src,tools,scripts,tests,e2e,.github}/**/*.{mjs,cjs,js,mts,md,yml,json,html,ts}\" \"*.{mjs,cjs,js,mts,yml,json,html,ts}\" \".*.{mjs,cjs,js,yml,json,html,ts}\" \"!CHANGELOG.md\" \"!**/*/package-lock.json\" \"!.github/**/*.md\"", "build": "tsc --project tsconfig.build.json", "clean": "rm -rf dist/", "dev": "tsc --project tsconfig.build.json --watch", "docs": "npm run --prefix=site build", "format": "npm run _format -- --write", "format:check": "npm run _format -- --check", "lint": "eslint --cache", "lint:fix": "npm run lint -- --fix", "start": "node ./bin/run.js", "test": "run-s test:unit test:integration test:e2e", "test:e2e": "vitest run --config vitest.e2e.config.ts", "test:init": "run-s test:init:*", "test:init:cli-help": "npm run start -- --help", "test:init:cli-version": "npm run start -- --version", "test:init:hugo-deps": "npm ci --prefix tests/integration/__fixtures__/hugo-site --no-audit", "test:init:monorepo-deps": "cd tests/integration/__fixtures__/monorepo && pnpm install --frozen-lockfile", "test:init:next-deps": "npm ci --prefix tests/integration/__fixtures__/next-app-without-config --no-audit && npm ci --prefix tests/integration/__fixtures__/next-app --no-audit", "test:integration": "vitest run --retry=3 tests/integration/", "test:unit": "vitest run tests/unit/", "postinstall": "node ./scripts/postinstall.js", "prepublishOnly": "node ./scripts/prepublishOnly.js", "typecheck": "tsc", "typecheck:watch": "tsc --watch" }, "dependencies": { "@fastify/static": "7.0.4", "@netlify/blobs": "8.2.0", "@netlify/build": "32.1.0", "@netlify/build-info": "9.0.4", "@netlify/config": "22.0.1", "@netlify/edge-bundler": "13.0.2", "@netlify/edge-functions": "2.11.1", "@netlify/headers-parser": "8.0.0", "@netlify/local-functions-proxy": "2.0.3", "@netlify/redirect-parser": "14.5.1", "@netlify/zip-it-and-ship-it": "10.0.7", "@octokit/rest": "21.1.1", "@opentelemetry/api": "1.8.0", "@pnpm/tabtab": "0.5.4", "ansi-escapes": "7.0.0", "ansi-to-html": "0.7.2", "ascii-table": "0.0.9", "backoff": "2.5.0", "boxen": "8.0.1", "chalk": "5.4.1", "chokidar": "3.6.0", "ci-info": "4.2.0", "clean-deep": "3.4.0", "commander": "12.1.0", "comment-json": "4.2.5", "content-type": "1.0.5", "cookie": "1.0.2", "cron-parser": "4.9.0", "debug": "4.4.0", "decache": "4.6.2", "dot-prop": "9.0.0", "dotenv": "16.5.0", "env-paths": "3.0.0", "envinfo": "7.14.0", "etag": "1.8.1", "execa": "5.1.1", "express": "4.21.2", "express-logging": "1.1.1", "extract-zip": "2.0.1", "fastest-levenshtein": "1.0.16", "fastify": "4.29.0", "find-up": "7.0.0", "folder-walker": "3.2.0", "fuzzy": "0.1.3", "get-port": "5.1.1", "gh-release-fetch": "4.0.3", "git-repo-info": "2.1.1", "gitconfiglocal": "2.1.0", "http-proxy": "1.18.1", "http-proxy-middleware": "2.0.9", "https-proxy-agent": "7.0.6", "inquirer": "8.2.6", "inquirer-autocomplete-prompt": "1.4.0", "ipx": "2.1.0", "is-docker": "3.0.0", "is-stream": "4.0.1", "is-wsl": "3.1.0", "isexe": "3.1.1", "jsonwebtoken": "9.0.2", "jwt-decode": "4.0.0", "lambda-local": "2.2.0", "locate-path": "7.2.0", "lodash": "4.17.21", "log-update": "6.1.0", "maxstache": "1.0.7", "maxstache-stream": "1.0.4", "multiparty": "4.2.3", "nanospinner": "^1.2.2", "netlify": "13.3.5", "netlify-redirector": "0.5.0", "node-fetch": "3.3.2", "normalize-package-data": "6.0.2", "open": "10.1.1", "p-filter": "4.1.0", "p-map": "7.0.3", "p-wait-for": "5.0.2", "parallel-transform": "1.2.0", "parse-github-url": "1.0.3", "parse-gitignore": "2.0.0", "prettyjson": "1.2.5", "raw-body": "3.0.0", "read-package-up": "11.0.0", "readdirp": "4.1.2", "semver": "7.7.1", "source-map-support": "0.5.21", "terminal-link": "4.0.0", "toml": "3.0.0", "tomlify-j0.4": "3.0.0", "ulid": "2.3.0", "update-notifier": "7.3.1", "uuid": "11.1.0", "wait-port": "1.1.0", "write-file-atomic": "5.0.1", "ws": "8.18.1" }, "devDependencies": { "@babel/preset-react": "7.26.3", "@bugsnag/js": "8.2.0", "@eslint/compat": "1.2.8", "@eslint/js": "9.24.0", "@netlify/functions": "3.0.4", "@sindresorhus/slugify": "2.2.1", "@tsconfig/node18": "^18.2.4", "@tsconfig/recommended": "^1.0.8", "@types/backoff": "^2.5.5", "@types/content-type": "1.1.8", "@types/debug": "4.1.12", "@types/envinfo": "7.8.4", "@types/eslint-config-prettier": "^6.11.3", "@types/etag": "1.8.3", "@types/folder-walker": "3.2.4", "@types/gitconfiglocal": "2.0.3", "@types/inquirer": "9.0.7", "@types/inquirer-autocomplete-prompt": "3.0.3", "@types/jsonwebtoken": "9.0.9", "@types/lodash": "4.17.16", "@types/lodash.shuffle": "^4.2.9", "@types/multiparty": "4.2.1", "@types/node": "18.19.86", "@types/node-fetch": "2.6.12", "@types/parallel-transform": "1.1.4", "@types/parse-github-url": "1.0.3", "@types/parse-gitignore": "1.0.2", "@types/picomatch": "4.0.0", "@types/prettyjson": "0.0.33", "@types/semver": "7.7.0", "@types/serialize-javascript": "^5.0.4", "@types/source-map-support": "0.5.10", "@types/update-notifier": "^6.0.8", "@types/write-file-atomic": "4.0.3", "@types/ws": "8.18.1", "@vitest/coverage-v8": "3.1.1", "@vitest/eslint-plugin": "1.1.42", "c8": "10.1.3", "cheerio": "1.0.0", "dedent": "^1.5.3", "eslint": "9.24.0", "eslint-config-prettier": "10.1.2", "eslint-plugin-n": "17.17.0", "form-data": "4.0.2", "lodash.shuffle": "^4.2.0", "memfs": "^4.17.0", "nock": "14.0.4", "npm-run-all2": "^7.0.2", "p-timeout": "6.1.4", "picomatch": "^4.0.2", "prettier": "2.6.2", "serialize-javascript": "6.0.2", "strip-ansi": "7.1.0", "temp-dir": "3.0.0", "tree-kill": "1.2.2", "tsx": "^4.19.3", "typescript": "5.8.3", "typescript-eslint": "^8.26.0", "verdaccio": "6.1.2", "vitest": "3.1.1" }, "ava": { "files": [ "tools/**/*.test.js", "tests/**/*.test.cjs" ] } }