mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Upgrade with-typescript to use latest next-typescript
This commit is contained in:
parent
7f621324fc
commit
2c3f40600c
6
examples/with-typescript/.babelrc
Normal file
6
examples/with-typescript/.babelrc
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"presets": [
|
||||||
|
"next/babel",
|
||||||
|
"@zeit/next-typescript/babel"
|
||||||
|
]
|
||||||
|
}
|
|
@ -7,14 +7,13 @@
|
||||||
"start": "next start"
|
"start": "next start"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"next": "^5.0.0",
|
"@zeit/next-typescript": "1.0.0",
|
||||||
|
"next": "latest",
|
||||||
"react": "^16.2.0",
|
"react": "^16.2.0",
|
||||||
"react-dom": "^16.2.0"
|
"react-dom": "^16.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/next": "^2.4.7",
|
"@types/next": "^2.4.7",
|
||||||
"@types/react": "^16.0.36",
|
"@types/react": "^16.0.36"
|
||||||
"@zeit/next-typescript": "0.1.1",
|
|
||||||
"typescript": "^2.7.1"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue