cardamon
Version:
A CLI tool for measuring the carbon footprint and energy consumption of web pages using the Cardamon model
62 lines (61 loc) • 1.47 kB
JSON
{
"name": "cardamon",
"version": "1.0.4",
"description": "A CLI tool for measuring the carbon footprint and energy consumption of web pages using the Cardamon model",
"main": "dist/cli.js",
"bin": {
"cardamon": "dist/cli.js"
},
"scripts": {
"build": "tsc",
"build:obfuscated": "tsc && node obfuscate.js",
"prepublishOnly": "npm run build:obfuscated",
"start": "node dist/cli.js",
"dev": "ts-node src/cli.ts"
},
"keywords": [
"carbon",
"co2",
"energy",
"measurement",
"cli",
"sustainability",
"web-performance",
"cardamon",
"environmental",
"green-tech"
],
"author": "Root&Branch <hello@rootandbranch.io>",
"license": "SEE LICENSE",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/Root-Branch/cardamon-npm-package"
},
"bugs": {
"url": "https://github.com/Root-Branch/cardamon-npm-package/issues"
},
"homepage": "https://github.com/Root-Branch/cardamon-npm-package#readme",
"engines": {
"node": ">=14.0.0"
},
"files": [
"dist/"
],
"dependencies": {
"canvas": "^2.11.2",
"chalk": "^4.1.2",
"cli-table3": "^0.6.3",
"commander": "^11.0.0",
"ora": "^5.4.1",
"os-utils": "^0.0.14",
"pidusage": "^4.0.1",
"puppeteer": "^21.0.0"
},
"devDependencies": {
"@types/node": "^20.0.0",
"javascript-obfuscator": "^4.1.1",
"ts-node": "^10.9.0",
"typescript": "^5.0.0"
}
}