123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- {
- "name": "wrangler",
- "version": "3.5.1",
- "description": "Command-line interface for all things Cloudflare Workers",
- "keywords": [
- "wrangler",
- "cloudflare",
- "workers",
- "cloudflare workers",
- "edge",
- "compute",
- "serverless",
- "serverless application",
- "serverless module",
- "wasm",
- "web",
- "assembly",
- "webassembly",
- "rust",
- "emscripten",
- "typescript",
- "graphql",
- "router",
- "http",
- "cli"
- ],
- "homepage": "https://github.com/cloudflare/workers-sdk#readme",
- "bugs": {
- "url": "https://github.com/cloudflare/workers-sdk/issues"
- },
- "repository": {
- "type": "git",
- "url": "https://github.com/cloudflare/workers-sdk.git",
- "directory": "packages/wrangler"
- },
- "license": "MIT OR Apache-2.0",
- "author": "wrangler@cloudflare.com",
- "main": "wrangler-dist/cli.js",
- "types": "wrangler-dist/cli.d.ts",
- "bin": {
- "wrangler": "./bin/wrangler.js",
- "wrangler2": "./bin/wrangler.js"
- },
- "files": [
- "bin",
- "miniflare-dist",
- "wrangler-dist",
- "templates",
- "kv-asset-handler.js",
- "Cloudflare_CA.pem"
- ],
- "scripts": {
- "assert-git-version": "node -r esbuild-register scripts/assert-git-version.ts",
- "build": "npm run clean && npm run bundle && npm run emit-types",
- "bundle": "node -r esbuild-register scripts/bundle.ts",
- "check:lint": "eslint .",
- "check:type": "tsc",
- "clean": "rimraf wrangler-dist miniflare-dist emitted-types",
- "dev": "npm run clean && concurrently -c black,blue --kill-others-on-fail false 'npm run bundle -- --watch' 'npm run check:type -- --watch --preserveWatchOutput'",
- "emit-types": "tsc -p tsconfig.emit.json && node -r esbuild-register scripts/emit-types.ts",
- "prepublishOnly": "SOURCEMAPS=false npm run build",
- "start": "npm run bundle && cross-env NODE_OPTIONS=--enable-source-maps ./bin/wrangler.js",
- "test": "npm run assert-git-version && jest",
- "test:ci": "npm run test -- --coverage",
- "test:debug": "npm run test -- --silent=false --verbose=true",
- "test:e2e": "vitest --test-timeout 240000 --single-thread --dir ./e2e run",
- "test:watch": "npm run test -- --runInBand --testTimeout=50000 --watch",
- "type:tests": "tsc -p ./src/__tests__/tsconfig.json && tsc -p ./e2e/tsconfig.json"
- },
- "jest": {
- "coverageReporters": [
- "json",
- "html",
- "text",
- "cobertura"
- ],
- "moduleNameMapper": {
- "clipboardy": "<rootDir>/src/__tests__/helpers/clipboardy-mock.js",
- "miniflare/cli": "<rootDir>/../../node_modules/miniflare/dist/src/cli.js"
- },
- "restoreMocks": true,
- "setupFilesAfterEnv": [
- "<rootDir>/src/__tests__/jest.setup.ts"
- ],
- "testRegex": "src/__tests__/.*\\.(test|spec)\\.[jt]sx?$",
- "testTimeout": 50000,
- "transform": {
- "^.+\\.c?(t|j)sx?$": [
- "esbuild-jest",
- {
- "sourcemap": true
- }
- ]
- },
- "transformIgnorePatterns": [
- "node_modules/(?!find-up|locate-path|p-locate|p-limit|p-timeout|p-queue|yocto-queue|path-exists|execa|strip-final-newline|npm-run-path|path-key|onetime|mimic-fn|human-signals|is-stream|get-port|supports-color|pretty-bytes|npx-import)"
- ]
- },
- "dependencies": {
- "@cloudflare/kv-asset-handler": "^0.2.0",
- "@esbuild-plugins/node-globals-polyfill": "^0.1.1",
- "@esbuild-plugins/node-modules-polyfill": "^0.1.4",
- "blake3-wasm": "^2.1.5",
- "chokidar": "^3.5.3",
- "esbuild": "0.16.3",
- "miniflare": "3.20230814.1",
- "nanoid": "^3.3.3",
- "path-to-regexp": "^6.2.0",
- "selfsigned": "^2.0.1",
- "source-map": "^0.7.4",
- "xxhash-wasm": "^1.0.1"
- },
- "devDependencies": {
- "@cloudflare/eslint-config-worker": "*",
- "@cloudflare/types": "^6.18.4",
- "@cloudflare/workers-tsconfig": "*",
- "@cloudflare/workers-types": "^4.20230724.0",
- "@iarna/toml": "^3.0.0",
- "@microsoft/api-extractor": "^7.28.3",
- "@types/better-sqlite3": "^7.6.0",
- "@types/busboy": "^1.5.0",
- "@types/command-exists": "^1.2.0",
- "@types/express": "^4.17.13",
- "@types/glob-to-regexp": "0.4.1",
- "@types/javascript-time-ago": "^2.0.3",
- "@types/mime": "^2.0.3",
- "@types/prompts": "^2.0.14",
- "@types/react": "^17.0.37",
- "@types/serve-static": "^1.13.10",
- "@types/signal-exit": "^3.0.1",
- "@types/supports-color": "^8.1.1",
- "@types/ws": "^8.5.3",
- "@types/yargs": "^17.0.10",
- "@webcontainer/env": "^1.1.0",
- "body-parser": "^1.20.0",
- "chalk": "^2.4.2",
- "cli-table3": "^0.6.3",
- "clipboardy": "^3.0.0",
- "cmd-shim": "^4.1.0",
- "command-exists": "^1.2.9",
- "concurrently": "^7.2.2",
- "devtools-protocol": "^0.0.955664",
- "dotenv": "^16.0.0",
- "execa": "^6.1.0",
- "express": "^4.18.1",
- "finalhandler": "^1.2.0",
- "find-up": "^6.3.0",
- "get-port": "^6.1.2",
- "glob-to-regexp": "0.4.1",
- "http-terminator": "^3.2.0",
- "ignore": "^5.2.0",
- "ink": "^3.2.0",
- "ink-select-input": "^4.2.1",
- "ink-spinner": "^4.0.3",
- "ink-table": "^3.0.0",
- "ink-testing-library": "^2.1.0",
- "ink-text-input": "^4.0.3",
- "is-ci": "^3.0.1",
- "javascript-time-ago": "^2.5.4",
- "jest-fetch-mock": "^3.0.3",
- "jest-websocket-mock": "^2.3.0",
- "mime": "^3.0.0",
- "minimatch": "^5.1.0",
- "msw": "^0.49.1",
- "npx-import": "^1.1.3",
- "open": "^8.4.0",
- "p-queue": "^7.2.0",
- "pretty-bytes": "^6.0.0",
- "prompts": "^2.4.2",
- "react": "^17.0.2",
- "react-error-boundary": "^3.1.4",
- "remove-accents-esm": "^0.0.1",
- "semiver": "^1.1.0",
- "serve-static": "^1.15.0",
- "shellac": "^0.8.0",
- "signal-exit": "^3.0.7",
- "strip-ansi": "^7.0.1",
- "supports-color": "^9.2.2",
- "timeago.js": "^4.0.2",
- "tmp-promise": "^3.0.3",
- "ts-dedent": "^2.2.0",
- "undici": "5.20.0",
- "update-check": "^1.5.4",
- "vitest": "^0.31.0",
- "ws": "^8.5.0",
- "xdg-app-paths": "^7.3.0",
- "yargs": "^17.4.1",
- "yoga-layout": "file:../../vendor/yoga-layout-2.0.0-beta.1.tgz"
- },
- "optionalDependencies": {
- "fsevents": "~2.3.2"
- },
- "engines": {
- "node": ">=16.13.0"
- }
- }
|