UNPKG

clado

Version:

A React state machine based on Context API.

88 lines 2.59 kB
{ "name": "clado", "version": "0.1.7", "description": "A React state machine based on Context API.", "main": "dist/clado.mjs", "types": "dist/index.d.ts", "keywords": [ "state", "machine", "context", "react", "component", "clade", "komutilo" ], "author": { "name": "Bruno Araujo", "email": "bruno@komutilo.com", "url": "https://github.com/brunurd" }, "contributors": [ { "name": "Bruno Araujo", "email": "bruno@komutilo.com", "url": "https://github.com/brunurd" } ], "homepage": "https://github.com/brunurd/clado#readme", "bugs": { "url": "https://github.com/brunurd/clado/issues", "email": "bruno@komutilo.com" }, "repository": { "type": "git", "url": "git+https://github.com/brunurd/clado.git" }, "license": "MIT", "engines": { "node": "~20.14.0", "npm": "~10.8.1" }, "volta": { "node": "20.14.0", "npm": "10.8.1", "pnpm": "9.4.0" }, "devDependencies": { "@jest/globals": "^29.7.0", "@testing-library/dom": "^10.2.0", "@testing-library/jest-dom": "^6.4.6", "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.5.2", "@types/jest": "^29.5.12", "@types/node": "^20.14.9", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.14.1", "@typescript-eslint/parser": "^7.14.1", "@vitejs/plugin-react": "^4.3.1", "cross-env": "^7.0.3", "eslint": "8.56.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-jsx-a11y": "^6.9.0", "eslint-plugin-react": "^7.34.3", "eslint-plugin-react-hooks": "^4.6.2", "eslint-plugin-security": "^3.0.1", "globals": "^15.6.0", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-junit": "^16.0.0", "react": "18.3.1", "react-dom": "18.3.1", "ts-jest": "^29.1.5", "typescript": "^5.5.2", "vite": "^5.3.1", "vite-plugin-dts": "^3.9.1" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0" }, "scripts": { "lint": "cross-env 'ESLINT_USE_FLAT_CONFIG=true eslint -c ./config/.eslintrc.js --debug --ignore-pattern dist .'", "fix": "cross-env 'ESLINT_USE_FLAT_CONFIG=true pnpm audit --fix && eslint -c ./config/.eslintrc.js --debug --ignore-pattern dist --fix .'", "test": "cross-env 'jest --config='./config/jest.config.js' --forceExit --detectOpenHandles --passWithNoTests --watchAll=false --coverage'", "build": "tsc && vite build -c ./config/vite.config.ts", "prepublish": "pnpm build" } }