astro-cloudflare-pages-headers
Version:
A lightweight integration for Astro that automatically generates a Cloudflare Pages _headers file for deployments based on your server header configuration.
59 lines (58 loc) • 1.59 kB
JSON
{
"name": "astro-cloudflare-pages-headers",
"homepage": "https://github.com/martinsilha/astro-cloudflare-pages-headers",
"description": "A lightweight integration for Astro that automatically generates a Cloudflare Pages _headers file for deployments based on your server header configuration.",
"version": "1.6.3",
"type": "module",
"exports": {
".": "./index.ts"
},
"files": [
"src",
"index.ts"
],
"keywords": [
"astro",
"astro-component",
"astro-integration",
"cloudflare-pages",
"tooling",
"utils",
"utility",
"withastro"
],
"scripts": {
"astro": "astro",
"build": "astro check && astro build",
"clear": "rm -rf dist .astro node_modules",
"dev": "astro dev",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"start": "astro dev",
"preview": "astro build && astro preview",
"test": "pnpm run test:unit",
"test:unit": "vitest",
"types": "tsc --noEmit",
"update": "pnpm update --latest",
"upgrade": "pnpm dlx @astrojs/upgrade"
},
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@semantic-release/git": "^10.0.1",
"@types/node": "^22.13.1",
"@typescript-eslint/eslint-plugin": "^8.24.0",
"@typescript-eslint/parser": "^8.24.0",
"astro": "^5.2.6",
"astro-eslint-parser": "^1.2.1",
"eslint-plugin-import": "^2.31.0",
"semantic-release": "^24.2.2",
"vitest": "^3.0.5"
},
"peerDependencies": {
"astro": "^4.0.0 || ^5.0.0"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"typescript": "^5.7.3"
}
}