9cc6ba93ab
Hello this PR is in order to update xstate to the lastest version and use the `createMachine` method instead of `Machine`. I also added the inspect mode in order to show how we could use into a next.js app. ## Documentation / Examples - [x] Make sure the linting passes
17 lines
316 B
JSON
17 lines
316 B
JSON
{
|
|
"name": "with-xstate",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@xstate/react": "^1.3.1",
|
|
"next": "latest",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1",
|
|
"xstate": "^4.17.0"
|
|
},
|
|
"license": "MIT"
|
|
}
|