{
  "name": "@tgwf/co2",
  "version": "0.16.8",
  "description": "Work out the co2 of your digital services",
  "main": "dist/cjs/index-node.js",
  "module": "dist/esm/index.js",
  "engines": {
    "node": ">=14.0.0"
  },
  "exports": {
    ".": {
      "import": "./dist/esm/index.js",
      "require": "./dist/cjs/index-node.js"
    }
  },
  "scripts": {
    "test": "jest src --silent",
    "test:watch": "jest --watch src",
    "lint": "eslint src",
    "lint:fix": "eslint src --fix",
    "serve": "python -m http.server --directory ./public",
    "build": "npm run build:esm && npm run build:browser && npm run build:node",
    "build:esm": "node .esbuild.esm.js && ./fixup",
    "build:browser": "node .esbuild.browser.js",
    "build:node": "node .esbuild.node.js && ./fixup",
    "release:minor": "npm run build && npm run intensity-data && npm run format-data && np minor",
    "release:patch": "npm run build && npm run intensity-data && npm run format-data && np patch",
    "gitpod": "npm run build && cp ./dist/iife/index.js ./public && npm run serve",
    "intensity-data:average": "node data/functions/generate_average_co2.js",
    "intensity-data:marginal": "node data/functions/generate_marginal_co2.js",
    "intensity-data": "npm run intensity-data:average && npm run intensity-data:marginal && npm run format-data",
    "format-data": "cd data && prettier --write '**/*.{js,json}'",
    "version": "npm run build"
  },
  "keywords": [
    "sustainability",
    "carbon",
    "the",
    "green",
    "web",
    "foundation",
    "co2"
  ],
  "author": "Chris Adams",
  "license": "Apache-2.0",
  "devDependencies": {
    "@tgwf/url2green": "^0.4.1",
    "all-contributors-cli": "^6.26.1",
    "esbuild": "^0.25.0",
    "esbuild-jest": "^0.5.0",
    "esbuild-plugin-glob": "^1.1.2",
    "eslint": "^8.15.0",
    "eslint-config-prettier": "^8.5.0",
    "eslint-plugin-jest": "^26.1.5",
    "eslint-plugin-prettier": "^4.0.0",
    "jest": "^28.1.0",
    "nock": "^13.2.4",
    "np": "^8.0.4",
    "prettier": "^2.6.2"
  },
  "jest": {
    "transform": {
      "^.+\\.(t|j)sx?$": [
        "esbuild-jest"
      ]
    }
  },
  "np": {
    "yarn": false
  },
  "publishConfig": {
    "access": "public"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/thegreenwebfoundation/co2.js.git"
  }
}
