{ "name": "react-transition-state", "version": "2.1.1", "description": "Zero dependency React transition state machine.", "author": "Zheng Song", "license": "MIT", "repository": "szhsin/react-transition-state", "homepage": "https://szhsin.github.io/react-transition-state/", "main": "dist/cjs/index.js", "module": "dist/es/index.js", "types": "types/index.d.ts", "sideEffects": false, "files": [ "dist/", "types/*.d.ts" ], "keywords": [ "react", "transition", "animation", "component", "hook", "state machine" ], "scripts": { "start": "rollup -c -w", "clean": "rm -Rf dist", "bundle": "rollup -c", "test": "jest", "eg": "npm start --prefix example", "types": "dtslint --localTs node_modules/typescript/lib types", "tsc": "cd types && tsc", "lint": "eslint .", "lint:fix": "eslint --fix .", "pret": "prettier -c .", "pret:fix": "prettier -w .", "build": "run-s clean lint pret bundle types" }, "peerDependencies": { "react": ">=16.8.0", "react-dom": ">=16.8.0" }, "devDependencies": { "@babel/core": "^7.22.5", "@babel/preset-env": "^7.22.5", "@rollup/plugin-babel": "^6.0.3", "@testing-library/react": "^14.0.0", "@types/jest": "^29.5.2", "babel-plugin-pure-annotations": "^0.1.2", "dtslint": "^4.1.6", "eslint": "^8.41.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-react-hooks": "^4.6.0", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", "npm-run-all": "^4.1.5", "prettier": "^2.8.8", "react": "^18.2.0", "react-dom": "^18.2.0", "regenerator-runtime": "^0.13.11", "rollup": "^3.25.1", "typescript": "^5.1.3" } }