{ "name": "robot3", "version": "1.3.0", "description": "A functional, immutable Finite State Machine library", "main": "dist/machine.js", "types": "./index.d.ts", "exports": { ".": { "require": "./dist/machine.js", "import": "./machine.js", "default": "./machine.js", "types": "./index.d.ts" }, "./debug": { "require": "./dist/debug.js", "import": "./debug.js", "default": "./debug.js" }, "./logging": { "require": "./dist/logging.js", "import": "./logging.js", "default": "./logging.js" } }, "files": [ "dist/", "debug.js", "logging.js", "machine.js", "index.d.ts" ], "scripts": { "minify": "wireit", "bundlesize": "wireit", "server": "wireit", "test": "wireit", "test:types": "wireit", "test:browser": "wireit", "build:cjs": "wireit", "build": "wireit" }, "repository": { "type": "git", "url": "git+https://github.com/matthewp/robot.git" }, "keywords": [ "Finite State Machine" ], "author": "Matthew Phillips ", "license": "BSD-2-Clause", "bugs": { "url": "https://github.com/matthewp/robot/issues" }, "homepage": "https://github.com/matthewp/robot#readme", "devDependencies": { "rollup": "^1.21.4", "terser": "^5.16.1" }, "wireit": { "minify": { "command": "terser machine.js -m --module -o machine.min.js", "files": [ "machine.js" ], "output": [ "machine.min.js" ] }, "bundlesize": { "command": "bundlesize --config bundlesize.json", "dependencies": [ "minify" ] }, "server": { "command": "ws -p 1965", "service": { "readyWhen": { "lineMatches": "Listening on" } } }, "test": { "dependencies": [ "test:types", "test:browser" ] }, "test:types": { "command": "tsc -p test/types/tsconfig.json", "files": [] }, "test:browser": { "command": "node-qunit-puppeteer http://localhost:1965/test/test.html 10000", "dependencies": [ "server" ], "files": [ "machine.js" ], "output": [] }, "build:cjs": { "command": "rollup -d dist -f cjs machine.js debug.js logging.js", "files": [ "machine.js", "debug.js", "logging.js" ], "output": [ "dist" ] }, "build": { "dependencies": [ "build:cjs", "minify" ] } } }