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:
parent
5c9c7b877b
commit
f0f8229009
BIN
examples/custom-server-actionhero/dump.rdb
Normal file
BIN
examples/custom-server-actionhero/dump.rdb
Normal file
Binary file not shown.
|
@ -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 @@
|
||||||
"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 @@
|
||||||
"**/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": {
|
||||||
|
|
Loading…
Reference in a new issue