finestate
Version:
Powerful and easy to use Finite State Machine with hierarchy, orthogonal states and 100% tests coverage.
51 lines (50 loc) • 1.85 kB
JSON
{
"name": "finestate",
"private": false,
"version": "1.2.0",
"author": "Yurii Miroshnyk",
"description": "Powerful and easy to use Finite State Machine with hierarchy, orthogonal states and 100% tests coverage.",
"license": "MIT",
"keywords": [
"fsm",
"finite",
"state",
"machine",
"statemachine"
],
"main": "dist/finestate.cjs.js",
"module": "dist/finestate.es.js",
"types": "dist/finestate.d.ts",
"files": [
"dist"
],
"type": "module",
"repository": {
"type": "git",
"url": "https://gitlab.com/ymiroshnyk/finestate.git"
},
"scripts": {
"clean": "pnpx rimraf ./dist",
"dev": "vite build --watch --mode dev",
"build:types": "tsc",
"cleanbuild": "pnpm run clean && pnpm run build",
"bundle:types": "dts-bundle --configJson dts-bundle-config.json",
"build:vite": "vite build",
"build": "npm-run-all build:vite postbuild",
"postbuild": "npm-run-all build:types bundle:types",
"test": "jest",
"publish:patch": "npm whoami && npm run cleanbuild && VERSION=$(npm version patch) && grep -q $VERSION CHANGES.md && ./scripts/prefix_readme_images.sh && npm publish && git restore README.md",
"publish:minor": "npm whoami && npm run cleanbuild && VERSION=$(npm version minor) && grep -q $VERSION CHANGES.md && ./scripts/prefix_readme_images.sh && npm publish && git restore README.md",
"publish:major": "npm whoami && npm run cleanbuild && VERSION=$(npm version major) && grep -q $VERSION CHANGES.md && ./scripts/prefix_readme_images.sh && npm publish && git restore README.md",
"postpublish": "git push && git push --tags"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"dts-bundle": "^0.7.3",
"jest": "^29.7.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^29.2.6",
"typescript": "~5.7.2",
"vite": "^6.2.0"
}
}