UNPKG

redirects-in-workers

Version:

Cloudflare Pages' _redirects file support in Cloudflare Workers

86 lines (85 loc) 2.37 kB
{ "name": "redirects-in-workers", "version": "0.0.7", "description": "Cloudflare Pages' _redirects file support in Cloudflare Workers", "keywords": [ "cloudflare", "cloudflare-workers", "workers", "cloudflare-pages", "pages", "redirects", "_redirects", "wintercg" ], "bugs": { "url": "https://github.com/gregbrimble/redirects-in-workers/issues" }, "repository": { "type": "git", "url": "git+https://github.com/gregbrimble/redirects-in-workers.git" }, "license": "MIT", "author": { "name": "Greg Brimble", "email": "hello@gregbrimble.com", "url": "https://gregbrimble.com/" }, "contributors": [ { "name": "Greg Brimble", "email": "hello@gregbrimble.com", "url": "https://gregbrimble.com/" } ], "type": "module", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "./dist", "./src" ], "scripts": { "build": "npm run esbuild && npm run typescript", "esbuild": "npx esbuild ./src/index.ts --bundle --sourcemap --outfile=./dist/index.js --platform=neutral --format=esm --alias:node:path=./node-path.js", "eslint": "npx eslint ./src --cache --cache-location .eslintcache", "format": "npm run prettier -- --check", "format:fix": "npm run prettier -- --write", "lint": "npm run eslint", "lint:fix": "npm run eslint -- --fix", "prettier": "npx prettier . --cache --cache-location .prettiercache", "test": "npx vitest", "types": "npm run typescript -- --noEmit", "typescript": "npx tsc", "validate": "CI=true npx concurrently --group \"npm:format\" \"npm:lint\" \"npm:test\"" }, "prettier": { "plugins": [ "prettier-plugin-packagejson", "prettier-plugin-sort-json", "prettier-plugin-organize-imports" ] }, "devDependencies": { "@cloudflare/vitest-pool-workers": "0.8.4", "@cloudflare/workers-shared": "file:../workers-sdk/packages/workers-shared", "@cloudflare/workers-types": "4.20250321.0", "@eslint/js": "9.23.0", "@types/eslint__js": "8.42.3", "@types/node": "^22.7.1", "concurrently": "9.1.2", "esbuild": "0.25.1", "eslint": "9.23.0", "prettier": "3.5.3", "prettier-plugin-organize-imports": "4.1.0", "prettier-plugin-packagejson": "2.5.10", "prettier-plugin-sort-json": "4.1.1", "typescript": "5.8.2", "typescript-eslint": "8.27.0", "vitest": "3.0.9", "wrangler": "4.4.0" }, "volta": { "node": "22.14.0" } }