12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- {
- "name": "@xstate/react",
- "version": "3.2.2",
- "description": "XState tools for React",
- "keywords": [
- "state",
- "machine",
- "statechart",
- "scxml",
- "state",
- "graph",
- "react",
- "hook"
- ],
- "author": "David Khourshid <davidkpiano@gmail.com>",
- "homepage": "https://github.com/statelyai/xstate/tree/main/packages/xstate-react#readme",
- "license": "MIT",
- "main": "lib/index.js",
- "module": "es/index.js",
- "types": "lib/index.d.ts",
- "typesVersions": {
- "<4.0": {
- "lib/index.d.ts": [
- "index.v3.d.ts"
- ]
- }
- },
- "sideEffects": false,
- "directories": {
- "lib": "lib",
- "test": "test"
- },
- "files": [
- "lib/**/*.js",
- "lib/**/*.d.ts",
- "dist/**/*.js",
- "es/**/*.js",
- "es/**/*.d.ts",
- "fsm/package.json"
- ],
- "repository": {
- "type": "git",
- "url": "git+ssh://git@github.com/statelyai/xstate.git"
- },
- "scripts": {
- "clean": "rm -rf dist lib tsconfig.tsbuildinfo",
- "build": "tsc && tsc --outDir es --module es2015 && rollup -c",
- "test": "jest",
- "prepare": "npm run build"
- },
- "bugs": {
- "url": "https://github.com/statelyai/xstate/issues"
- },
- "peerDependencies": {
- "@xstate/fsm": "^2.0.0",
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0",
- "xstate": "^4.37.2"
- },
- "peerDependenciesMeta": {
- "@xstate/fsm": {
- "optional": true
- },
- "xstate": {
- "optional": true
- }
- },
- "dependencies": {
- "use-isomorphic-layout-effect": "^1.1.2",
- "use-sync-external-store": "^1.0.0"
- },
- "devDependencies": {
- "@rollup/plugin-commonjs": "^17.0.0",
- "@rollup/plugin-node-resolve": "^11.0.1",
- "@testing-library/react": "^13.0.0",
- "@types/jsdom": "^12.2.3",
- "@types/react": "^17.0.43",
- "@types/react-dom": "^17.0.14",
- "@types/use-sync-external-store": "^0.0.3",
- "@xstate/fsm": "*",
- "jest": "^26.6.3",
- "jsdom": "^14.0.0",
- "jsdom-global": "^3.0.2",
- "lerna-alias": "3.0.3-0",
- "react": "^18.0.0",
- "react-dom": "^18.0.0",
- "rollup": "^2.69.0",
- "rollup-plugin-replace": "^2.2.0",
- "rollup-plugin-terser": "^5.1.2",
- "rollup-plugin-typescript2": "^0.30.0",
- "ts-jest": "^26.5.6",
- "typescript": "^4.8.4",
- "xstate": "*"
- }
- }
|