1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

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

To work with babel7 & next7.
This commit is contained in:
Henrik Wenz 2018-09-27 16:39:11 +02:00 committed by Tim Neutkens
parent 5c9c7b877b
commit f0f8229009
4 changed files with 11 additions and 12 deletions

Binary file not shown.

View file

@ -4,6 +4,6 @@
"@zeit/next-typescript/babel"
],
"plugins": [
"transform-decorators-legacy"
["@babel/plugin-proposal-decorators", { "legacy": true }]
]
}

View file

@ -8,21 +8,21 @@
"tslint": "tslint -c tslint.json -p tsconfig.json"
},
"dependencies": {
"@zeit/next-typescript": "1.1.0",
"mobx": "5.0.5",
"mobx-react": "5.2.5",
"mobx-state-tree": "3.2.3",
"next": "6.1.1",
"react": "16.4.2",
"react-dom": "16.4.2",
"@zeit/next-typescript": "1.1.1",
"mobx": "^5.1.2",
"mobx-react": "^5.2.8",
"mobx-state-tree": "^3.4.0",
"next": "latest",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"typescript": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-decorators": "^7.1.0",
"@types/next": "^6.1.4",
"@types/react": "^16.4.12",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"tslint": "^5.9.1",
"tslint-config-standard": "^7.0.0",
"tslint-config-standard": "^8.0.1",
"tslint-loader": "^3.5.3",
"tslint-react": "^3.4.0"
},

View file

@ -52,8 +52,7 @@
"**/node_modules/**",
"**/examples/with-ioc/**",
"**/examples/with-kea/**",
"**/examples/with-mobx/**",
"**/examples/with-mobx-state-tree/**"
"**/examples/with-mobx/**"
]
},
"lint-staged": {