UNPKG

preact-robot

Version:

Preact hooks for Robot finite state machines

72 lines (71 loc) 1.53 kB
{ "name": "preact-robot", "version": "1.1.0", "description": "Preact hooks for Robot finite state machines", "main": "dist/machine.js", "module": "machine.js", "types": "./index.d.ts", "exports": { ".": { "require": "./dist/machine.js", "default": "./machine.js", "types": "./index.d.ts" } }, "scripts": { "test": "wireit", "build": "wireit" }, "files": [ "dist/", "machine.js" ], "repository": { "type": "git", "url": "git+https://github.com/matthewp/preact-robot.git" }, "keywords": [ "Preact", "Finite state machine" ], "author": "Matthew Phillips <matthew@matthewphillips.info>", "license": "BSD-2-Clause", "bugs": { "url": "https://github.com/matthewp/preact-robot/issues" }, "homepage": "https://github.com/matthewp/preact-robot#readme", "peerDependencies": { "preact": "^10.11.3", "robot3": "^1.0.0" }, "dependencies": { "robot-hooks": "^1.1.0", "rollup": "^2.8.2" }, "devDependencies": { "preact": "^10.11.3", "htm": "^3.1.1", "robot3": "^1.0.0" }, "wireit": { "test": { "command": "node-qunit-puppeteer http://localhost:1965/packages/preact-robot/test/test.html 10000", "dependencies": [ "../..:server" ], "files": [ "machine.js" ], "output": [] }, "build": { "command": "rollup -d dist -f cjs machine.js", "files": [ "machine.js" ], "output": [ "dist" ] } } }