{
  "name": "promised-map",
  "version": "1.0.0",
  "description": "A map of promises that can be resolved or rejected by key",
  "type": "module",
  "main": "./dist/cjs/index.js",
  "exports": {
    "import": "./dist/esm/index.js",
    "require": "./dist/cjs/index.js"
  },
  "types": "./dist/cjs/index.d.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "scripts": {
    "clean": "rm -rf dist",
    "build": "tsc",
    "build:cjs": "tsc --target es5 --outDir dist/cjs && echo '{\"type\": \"commonjs\"}' > dist/cjs/package.json",
    "build:all": "npm run build && npm run build:cjs",
    "typecheck": "tsc --noEmit",
    "lint": "eslint . --ext .ts",
    "test": "mocha -r ts-node/register test/globals.ts test/specs/*.spec.ts",
    "test:e2e": "cd test/e2e && install-local ../.. && mocha test.mjs test.cjs",
    "ci": "npm run lint && npm test && npm run build:all && npm run test:e2e",
    "toc": "markdown-toc README.md -i",
    "docs": "typedoc src/index.ts --out docs",
    "prerelease": "npm run lint && npm test && npm run clean && npm run build:all && npm run test:e2e",
    "release": "npm version $VER && npm publish",
    "postrelease": "git push --follow-tags --no-verify",
    "release-patch": "VER=patch npm run release",
    "release-minor": "VER=minor npm run release"
  },
  "lint-staged": {
    "**/*.ts": "eslint --ext .ts"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged && npm test",
      "pre-push": "npm run lint && npm test"
    }
  },
  "author": {
    "name": "Vitaliy Potapov",
    "email": "noginsk@rambler.ru"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/vitalets/promised-map.git"
  },
  "engines": {
    "node": ">=10"
  },
  "devDependencies": {
    "@types/mocha": "^8.2.0",
    "@types/node": "^14.14.22",
    "@typescript-eslint/eslint-plugin": "^4.14.1",
    "@typescript-eslint/parser": "^4.14.1",
    "eslint": "^7.18.0",
    "eslint-plugin-mocha": "^8.0.0",
    "husky": "^4.3.8",
    "install-local": "^3.0.1",
    "lint-staged": "^10.5.3",
    "markdown-toc": "^1.2.0",
    "mocha": "^8.2.1",
    "ts-node": "^9.1.1",
    "typedoc": "^0.20.19",
    "typescript": "^4.1.3"
  },
  "keywords": [
    "promise",
    "promise-api",
    "promises"
  ],
  "license": "MIT"
}
