UNPKG

@greenweb/gaw-plugin-netlify-edge

Version:

This plugin provides some useful functions that can be used when setting up the Grid-aware Websites library using Netlify Edge Functions.

56 lines (55 loc) 1.69 kB
{ "name": "@greenweb/gaw-plugin-netlify-edge", "version": "0.2.0", "main": "src/index.js", "types": "src/index.d.ts", "scripts": { "build": "npm run generate-types", "generate-types": "rm -rf src/index.d.ts && tsc", "lint": "npx eslint . --ext .ts", "lint:fix": "npm run lint -- --fix", "prettier": "npx prettier . --check", "prettier:fix": "npm run prettier -- --write", "format": "npm run prettier:fix && npm run lint:fix", "test": "vitest", "type-check": "tsc --noEmit", "type-check:watch": "tsc --noEmit --watch" }, "keywords": [ "grid-aware", "carbon-aware", "sustainability", "greenweb", "plugin", "netlify" ], "bugs": { "url": "https://github.com/thegreenwebfoundation/gaw-plugin-netlify-edge/issues" }, "repository": { "type": "git", "url": "https://github.com/thegreenwebfoundation/gaw-plugin-netlify-edge" }, "author": { "name": "Fershad Irani", "email": "fershad@greenweb.org", "url": "https://fershad.com" }, "license": "Apache-2.0", "description": "This plugin provides some useful functions that can be used when setting up the Grid-aware Websites library using Netlify Edge Functions.", "devDependencies": { "@cloudflare/workers-types": "^4.20241224.0", "@eslint/js": "^8.56.0", "@types/node": "^20.0.0", "@typescript-eslint/eslint-plugin": "^6.0.0", "@typescript-eslint/parser": "^6.0.0", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", "globals": "^15.12.0", "prettier": "3.3.3", "ts-node": "^10.9.0", "typescript": "^5.3.0", "@netlify/edge-functions": "^2.11.1", "vitest": "^2.1.4" } }