Commit f0f82290 authored by Henrik Wenz's avatar Henrik Wenz Committed by Tim Neutkens

Update with-mobx-state-tree-typescript example (#5266)

To work with babel7 & next7.
parent 5c9c7b87
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
"@zeit/next-typescript/babel" "@zeit/next-typescript/babel"
], ],
"plugins": [ "plugins": [
"transform-decorators-legacy" ["@babel/plugin-proposal-decorators", { "legacy": true }]
] ]
} }
...@@ -8,21 +8,21 @@ ...@@ -8,21 +8,21 @@
"tslint": "tslint -c tslint.json -p tsconfig.json" "tslint": "tslint -c tslint.json -p tsconfig.json"
}, },
"dependencies": { "dependencies": {
"@zeit/next-typescript": "1.1.0", "@zeit/next-typescript": "1.1.1",
"mobx": "5.0.5", "mobx": "^5.1.2",
"mobx-react": "5.2.5", "mobx-react": "^5.2.8",
"mobx-state-tree": "3.2.3", "mobx-state-tree": "^3.4.0",
"next": "6.1.1", "next": "latest",
"react": "16.4.2", "react": "^16.5.2",
"react-dom": "16.4.2", "react-dom": "^16.5.2",
"typescript": "^3.0.1" "typescript": "^3.0.1"
}, },
"devDependencies": { "devDependencies": {
"@babel/plugin-proposal-decorators": "^7.1.0",
"@types/next": "^6.1.4", "@types/next": "^6.1.4",
"@types/react": "^16.4.12", "@types/react": "^16.4.12",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"tslint": "^5.9.1", "tslint": "^5.9.1",
"tslint-config-standard": "^7.0.0", "tslint-config-standard": "^8.0.1",
"tslint-loader": "^3.5.3", "tslint-loader": "^3.5.3",
"tslint-react": "^3.4.0" "tslint-react": "^3.4.0"
}, },
......
...@@ -52,8 +52,7 @@ ...@@ -52,8 +52,7 @@
"**/node_modules/**", "**/node_modules/**",
"**/examples/with-ioc/**", "**/examples/with-ioc/**",
"**/examples/with-kea/**", "**/examples/with-kea/**",
"**/examples/with-mobx/**", "**/examples/with-mobx/**"
"**/examples/with-mobx-state-tree/**"
] ]
}, },
"lint-staged": { "lint-staged": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment