UNPKG

@fleek-platform/next-on-fleek

Version:

`@fleek-platform/next-on-fleek` is a CLI tool that you can use to build and develop [Next.js](https://nextjs.org/) applications so that they can run on [Fleek Functions](https://fleek.xyz/docs/platform/fleek-functions/).

100 lines (99 loc) 2.71 kB
{ "name": "@fleek-platform/next-on-fleek", "version": "1.15.5", "main": "./dist/index.js", "module": "./dist/index.js", "types": "./dist/src/index.d.ts", "exports": { ".": { "import": "./dist/index.js", "types": "./dist/src/index.d.ts" }, "./fetch-handler": { "import": "./dist/fetch-handler/index.js", "types": "./dist/fetch-handler/index.d.ts" }, "./next-dev": { "import": "./dist/next-dev/index.cjs", "require": "./dist/next-dev/index.cjs", "types": "./dist/next-dev/index.d.ts" } }, "scripts": { "lint": "eslint src templates", "types-check": "tsc --noEmit", "build:types:index": "tsc -p tsconfig.index.json", "build:types": "npm run build:types:index", "build": "esbuild --bundle --platform=node ./src/index.ts ./src/api/index.ts --external:esbuild --external:chokidar --outdir=./dist", "build:watch": "npm run build -- --watch=forever", "build:fetch-handler": "esbuild --bundle --platform=browser ./src/fetch-handler/index.ts --outdir=./dist/fetch-handler", "postbuild": "npm run build:types && npm run build:fetch-handler", "prepare": "npm run build", "test:unit": "npx vitest --config vitest.config.ts" }, "files": [ "bin", "dist", "templates" ], "keywords": [ "fleek", "fleek functions", "edge", "nextjs", "next" ], "license": "MIT", "homepage": "https://github.com/fleek-platform/next-on-fleek#readme", "bugs": { "url": "https://github.com/fleek-platform/next-on-fleek/issues" }, "repository": { "type": "git", "url": "https://github.com/fleek-platform/next-on-fleek.git" }, "dependencies": { "acorn": "^8.8.0", "ast-types": "^0.14.2", "chalk": "^5.2.0", "chokidar": "^3.5.3", "commander": "^11.1.0", "esbuild": "^0.15.3", "files-from-path": "^1.0.4", "fleek-function-utils": "^0.1.3", "js-yaml": "^4.1.0", "mime-types": "^2.1.35", "miniflare": "^3.20231218.1", "multiformats": "^13.3.0", "package-manager-manager": "^0.2.0", "parallel-transform-web": "^1.0.1", "semver": "^7.5.2" }, "devDependencies": { "@changesets/cli": "^2.26.0", "@fleek-platform/next-on-fleek-tsconfig": "*", "@tsconfig/strictest": "^2.0.0", "@types/cookie": "^0.5.1", "@types/js-yaml": "^4.0.5", "@types/mock-fs": "^4.13.1", "@types/node": "^20.1.4", "dedent-tabs": "^0.10.3", "eslint": "^8.35.0", "image-to-base64": "^2.2.0", "mock-fs": "^5.2.0", "p-limit": "^4.0.0", "prettier": "^2.8.4", "typescript": "^5.0.4", "vitest": "^0.32.2", "vitest-environment-miniflare": "^2.13.0" }, "peerDependencies": { "@cloudflare/workers-types": "^4.20240208.0", "vercel": ">=30.0.0" }, "peerDependenciesMeta": { "@cloudflare/workers-types": { "optional": true } } }