improve typescript setup
This commit is contained in:
@@ -20,20 +20,22 @@
|
||||
"src",
|
||||
"dist"
|
||||
],
|
||||
"devDependencies": {
|
||||
"@types/react": "^17.0.20",
|
||||
"@types/react-dom": "^17.0.7",
|
||||
"react": "^17.0.0",
|
||||
"react-dom": "^17.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@tiptap/core": "^2.0.0-beta.1",
|
||||
"react": "^17.0.1",
|
||||
"react-dom": "^17.0.1"
|
||||
"react": "^17.0.0",
|
||||
"react-dom": "^17.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@tiptap/extension-bubble-menu": "^2.0.0-beta.34",
|
||||
"@tiptap/extension-floating-menu": "^2.0.0-beta.28",
|
||||
"prosemirror-view": "^1.20.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^17.0.20",
|
||||
"@types/react-dom": "^17.0.7"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/ueberdosis/tiptap",
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
{
|
||||
"extends": "../../tsconfig",
|
||||
"compilerOptions": {
|
||||
"jsx": "react",
|
||||
},
|
||||
"exclude": [
|
||||
"**/node_modules",
|
||||
"**/dist",
|
||||
"../vue-3",
|
||||
"../../demos",
|
||||
"../vue-2",
|
||||
"../vue-3"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user