UNPKG

nitropack

Version:

Build and Deploy Universal JavaScript Servers

133 lines • 4.04 kB
{ "name": "nitropack", "version": "2.3.2", "description": "Build and Deploy Universal JavaScript Servers", "repository": "unjs/nitro", "license": "MIT", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs" }, "./cli": "./dist/cli.mjs", "./runtime/*": "./dist/runtime/*.mjs", "./dist/runtime/*": "./dist/runtime/*.mjs", "./package.json": "./package.json" }, "main": "./dist/index.mjs", "types": "./dist/index.d.ts", "bin": { "nitro": "./dist/cli.mjs", "nitropack": "./dist/cli.mjs" }, "files": [ "dist" ], "resolutions": { "nitropack": "link:.", "undici": "^5.21.0" }, "dependencies": { "@cloudflare/kv-asset-handler": "^0.3.0", "@netlify/functions": "^1.4.0", "@rollup/plugin-alias": "^4.0.3", "@rollup/plugin-commonjs": "^24.0.1", "@rollup/plugin-inject": "^5.0.3", "@rollup/plugin-json": "^6.0.0", "@rollup/plugin-node-resolve": "^15.0.1", "@rollup/plugin-replace": "^5.0.2", "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-wasm": "^6.1.2", "@rollup/pluginutils": "^5.0.2", "@vercel/nft": "^0.22.6", "archiver": "^5.3.1", "c12": "^1.2.0", "chalk": "^5.2.0", "chokidar": "^3.5.3", "consola": "^2.15.3", "cookie-es": "^0.5.0", "defu": "^6.1.2", "destr": "^1.2.2", "dot-prop": "^7.2.0", "esbuild": "^0.17.12", "escape-string-regexp": "^5.0.0", "etag": "^1.8.1", "fs-extra": "^11.1.1", "globby": "^13.1.3", "gzip-size": "^7.0.0", "h3": "^1.6.2", "hookable": "^5.5.1", "http-proxy": "^1.18.1", "is-primitive": "^3.0.1", "jiti": "^1.18.2", "klona": "^2.0.6", "knitwork": "^1.0.0", "listhen": "^1.0.4", "mime": "^3.0.0", "mlly": "^1.2.0", "mri": "^1.2.0", "node-fetch-native": "^1.0.2", "ofetch": "^1.0.1", "ohash": "^1.0.0", "pathe": "^1.1.0", "perfect-debounce": "^0.1.3", "pkg-types": "^1.0.2", "pretty-bytes": "^6.1.0", "radix3": "^1.0.0", "rollup": "^3.20.0", "rollup-plugin-visualizer": "^5.9.0", "scule": "^1.0.0", "semver": "^7.3.8", "serve-placeholder": "^2.0.1", "serve-static": "^1.15.0", "source-map-support": "^0.5.21", "std-env": "^3.3.2", "ufo": "^1.1.1", "unenv": "^1.2.2", "unimport": "^3.0.3", "unstorage": "^1.4.1" }, "devDependencies": { "@cloudflare/workers-types": "^4.20230321.0", "@types/aws-lambda": "^8.10.114", "@types/etag": "^1.8.1", "@types/fs-extra": "^11.0.1", "@types/http-proxy": "^1.17.10", "@types/node-fetch": "^2.6.2", "@types/semver": "^7.3.13", "@types/serve-static": "^1.15.1", "@vitest/coverage-c8": "^0.29.7", "changelogen": "^0.5.1", "edge-runtime": "^2.1.2", "eslint": "^8.36.0", "eslint-config-unjs": "^0.1.0", "execa": "^7.1.1", "expect-type": "^0.15.0", "miniflare": "^2.12.2", "prettier": "^2.8.6", "typescript": "^5.0.2", "unbuild": "^1.1.2", "undici": "^5.21.0", "vitest": "^0.29.7" }, "packageManager": "pnpm@7.30.0", "engines": { "node": "^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" }, "scripts": { "build": "unbuild", "dev": "pnpm nitro dev playground", "dev:build": "pnpm nitro build playground", "dev:start": "node playground/.output/server/index.mjs", "lint": "eslint --cache --ext .ts,.mjs,.cjs . && prettier -c src", "lint:fix": "eslint --cache --fix --ext .ts,.mjs,.cjs . && prettier --write -c src", "nitro": "jiti ./src/cli.ts", "release": "pnpm test && pnpm build && changelogen --release && pnpm publish && git push --follow-tags", "stub": "unbuild --stub", "vitest-es": "NODE_OPTIONS=--experimental-vm-modules vitest", "test": "pnpm lint && pnpm vitest-es run --silent", "test:types": "tsc --noEmit && pnpm test:fixture:types", "test:fixture:types": "pnpm stub && jiti ./test/scripts/gen-fixture-types.ts && cd test/fixture && tsc --noEmit" } }