fix(editor): move tern dependency to the editor-sdk package

This commit is contained in:
Yanzhen Yu 2022-09-21 14:41:55 +08:00
parent 3b7289999a
commit a38a01a483
2 changed files with 4 additions and 4 deletions

View File

@ -41,10 +41,12 @@
"mobx": "^6.3.8",
"mobx-react-lite": "^3.2.2",
"rc-select": "^14.1.5",
"react-color": "^2.19.3"
"react-color": "^2.19.3",
"tern": "^0.24.3"
},
"devDependencies": {
"@types/lodash": "^4.14.182",
"@types/tern": "^0.23.4",
"@vitejs/plugin-react": "^2.0.1",
"esbuild": "^0.15.5",
"tsup": "^6.2.2"

View File

@ -60,8 +60,7 @@
"react-codemirror2": "^7.2.1",
"react-dom": "^17.0.2",
"react-json-tree": "^0.16.1",
"scroll-into-view": "^1.16.2",
"tern": "^0.24.3"
"scroll-into-view": "^1.16.2"
},
"devDependencies": {
"@babel/preset-react": "^7.14.5",
@ -73,7 +72,6 @@
"@types/json-schema": "^7.0.7",
"@types/lodash": "^4.14.182",
"@types/scroll-into-view": "^1.16.0",
"@types/tern": "^0.23.4",
"@vitejs/plugin-react": "^2.0.1",
"@vitejs/plugin-react-refresh": "^1.3.6",
"babel-jest": "^27.2.1",