HQarroum/Gravatar

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "gravatar.js",
  "version": "2.0.0",
  "description": "A promise-based Gravatar client for Node and the browser",
  "type": "module",
  "main": "./dist/index.cjs",
  "module": "./lib/index.js",
  "exports": {
    ".": {
      "import": "./lib/index.js",
      "require": "./dist/index.cjs"
    },
    "./package.json": "./package.json"
  },
  "files": [
    "lib",
    "dist",
    "assets",
    "examples",
    "tests"
  ],
  "scripts": {
    "build": "npx rollup -c",
    "test": "npx cross-env NODE_OPTIONS=--experimental-vm-modules jest",
    "coverage": "npx cross-env NODE_OPTIONS=--experimental-vm-modules jest --coverage",
    "prepublishOnly": "npm run build && npm run test"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/HQarroum/Gravatar.git"
  },
  "keywords": [
    "gravatar",
    "avatar"
  ],
  "author": "Halim Qarroum <hqm.post@gmail.com> (http://halim.qarroum.com)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/HQarroum/Gravatar/issues"
  },
  "dependencies": {
    "node-fetch": "^2.6.7"
  },
  "devDependencies": {
    "cross-env": "^7.0.3",
    "jest": "^27.0.4",
    "rollup": "^2.50.6",
    "rollup-plugin-terser": "^7.0.2"
  }
}