website-carbon-meter
Version:
Tracks the carbon emissions of a website as live metrics. Based on CO2.js and the actual grid intensity.
50 lines (49 loc) • 1.38 kB
JSON
{
"name": "website-carbon-meter",
"version": "1.0.18",
"description": "Tracks the carbon emissions of a website as live metrics. Based on CO2.js and the actual grid intensity.",
"type": "module",
"main": "bundle/website-carbon-meter.umd.cjs",
"module": "lib/carbon.js",
"exports": {
".": {
"require": "./bundle/website-carbon-meter.umd.cjs",
"import": "./lib/carbon.js"
}
},
"files": [
"lib",
"bundle"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "vite build",
"watch": "vite build --watch",
"postbuild": "npm run validate && npm run hash",
"validate": "validate-package-exports --check --verify",
"hash": "node scripts/generateSri.mjs"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bluehands/Website-Carbon-Meter.git"
},
"keywords": [
"sustainability",
"carbon",
"co2"
],
"author": "Implemented with 💙 by bluehands",
"license": "MIT",
"bugs": {
"url": "https://github.com/bluehands/Website-Carbon-Meter/issues"
},
"homepage": "https://github.com/bluehands/Website-Carbon-Meter#readme",
"devDependencies": {
"ssri": "^11.0.0",
"validate-package-exports": "^0.6.1",
"vite": "^5.4.5"
},
"dependencies": {
"@tgwf/co2": "^0.16.0"
}
}