{
  "name": "state-switch",
  "version": "1.6.3",
  "description": "State Switch is a Change Monitor/Guarder for Async Actions.",
  "type": "module",
  "exports": {
    ".": {
      "import": "./dist/esm/src/mod.js",
      "require": "./dist/cjs/src/mod.js"
    }
  },
  "typings": "./dist/esm/src/mod.d.ts",
  "engines": {
    "node": ">=16",
    "npm": ">=7"
  },
  "scripts": {
    "build": "tsc && tsc -p tsconfig.cjs.json",
    "clean": "shx rm -fr dist/*",
    "dist": "npm-run-all clean build dist:commonjs",
    "dist:commonjs": "jq -n \"{ type: \\\"commonjs\\\" }\" > dist/cjs/package.json",
    "lint": "npm-run-all lint:es && npm run lint:ts",
    "lint:ts": "tsc --isolatedModules --noEmit",
    "lint:es": "eslint --ignore-pattern fixtures/ \"src/**/*.ts\" \"tests/**/*.ts\"",
    "demo": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" node example/demo",
    "test": "npm-run-all lint test:unit",
    "test:pack": "bash -x scripts/npm-pack-testing.sh",
    "test:unit": "cross-env NODE_OPTIONS=\"--no-warnings --loader=ts-node/esm\" tap \"src/**/*.spec.ts\" \"tests/**/*.spec.ts\""
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/huan/state-switch.git"
  },
  "keywords": [
    "state",
    "switch",
    "monitor",
    "async"
  ],
  "author": "Huan LI <zixia@zixia.net>",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/huan/state-switch/issues"
  },
  "homepage": "https://github.com/huan/state-switch#readme",
  "devDependencies": {
    "@chatie/eslint-config": "^1.0.4",
    "@chatie/git-scripts": "^0.6.2",
    "@chatie/semver": "^0.4.7",
    "@chatie/tsconfig": "^4.6.2",
    "tsd": "^0.19.0",
    "typed-emitter": "^1.5.0-from-event"
  },
  "peerDependencies": {
    "brolog": "^1.14.2",
    "gerror": "^1.0.16",
    "rxjs": "^7.4.0"
  },
  "files": [
    "dist/",
    "src/"
  ],
  "dependencies": {
    "@pipeletteio/nop": "^1.0.0",
    "xstate": "^4.26.1"
  },
  "git": {
    "scripts": {
      "pre-push": "npx git-scripts-pre-push"
    }
  },
  "publishConfig": {
    "tag": "latest"
  }
}