@fabiospampinato/fsm
Version:
Finite State Machine implementation, with support for guards and enter/exit events.
58 lines (57 loc) • 1.53 kB
JSON
{
"name": "@fabiospampinato/fsm",
"version": "1.0.5",
"description": "Finite State Machine implementation, with support for guards and enter/exit events.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"clean:dist": "rimraf dist",
"clean:coverage": "rimraf coverage .nyc_output",
"clean": "npm run clean:dist && npm run clean:coverage",
"compile": "tsc --skipLibCheck && tstei",
"compile:watch": "tsc --skipLibCheck --watch",
"test": "ava",
"test:watch": "ava --watch",
"coverage": "nyc --reporter=html ava",
"report": "nyc report",
"report:html": "open coverage/index.html",
"prepublishOnly": "npm run clean && npm run compile && npm run coverage"
},
"ava": {
"files": [
"test/index.js"
]
},
"bugs": {
"url": "https://github.com/fabiospampinato/fsm/issues"
},
"license": "MIT",
"author": {
"name": "Fabio Spampinato",
"email": "spampinabio@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/fabiospampinato/fsm.git"
},
"keywords": [
"fsm",
"finite-state",
"automaton"
],
"dependencies": {
"@fabiospampinato/fifo": "^1.0.4",
"@fabiospampinato/lockable": "^1.0.3",
"@types/lodash": "^4.14.117",
"lodash": "^4.17.11"
},
"devDependencies": {
"ava": "^0.18.2",
"ava-spec": "^1.1.0",
"call-spy": "^1.0.0",
"nyc": "^10.1.2",
"rimraf": "^2.6.0",
"typescript": "~3.1.6",
"typescript-transform-export-interop": "^1.0.0"
}
}