UNPKG

yay-machine

Version:

A modern, simple, lightweight, zero-dependency, TypeScript state-machine library

58 lines (57 loc) 1.67 kB
{ "name": "yay-machine", "version": "1.5.0", "description": "A modern, simple, lightweight, zero-dependency, TypeScript state-machine library", "main": "dist/index.cjs", "module": "dist/index.js", "types": "dist/index.d.ts", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs", "default": "./dist/index.js" } }, "files": [ "src", "dist" ], "scripts": { "check:types": "tsc --noEmit", "build": "rimraf dist && bun run build:esm && bun run build:cjs && bun run build:types", "build:esm": "bun build src/index.ts --outfile dist/index.js --format esm", "build:cjs": "bun build src/index.ts --outfile dist/index.cjs --format cjs", "build:types": "tsc --emitDeclarationOnly --declaration --declarationMap", "test:ci": "bun test --coverage --coverage-reporter=lcov --coverage-reporter=text", "api-docs": "typedoc --cleanOutputDir --plugin typedoc-github-theme --out api-docs src/index.ts" }, "repository": { "type": "git", "url": "git+https://github.com/maurice/yay-machine.git" }, "keywords": [ "state-machine", "fsm", "state-management", "concise", "declarative", "deterministic", "safe", "typescript", "zero-dependency", "yay" ], "author": "maurice@mauricenicholson.com", "license": "MIT", "bugs": { "url": "https://github.com/maurice/yay-machine/issues" }, "homepage": "https://github.com/maurice/yay-machine#readme", "devDependencies": { "rimraf": "^6.0.1", "typedoc": "^0.28.4", "typedoc-github-theme": "^0.3.0" } }