mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
chore: remove unused deps for renderer-core
This commit is contained in:
parent
23cf6bc778
commit
6bb64f3aa1
@ -27,7 +27,6 @@
|
||||
"moment": "^2.24.0",
|
||||
"prop-types": "^15.7.2",
|
||||
"react-is": "^16.10.1",
|
||||
"serialize-javascript": "^1.7.0",
|
||||
"socket.io-client": "^2.2.0",
|
||||
"whatwg-fetch": "^3.0.0",
|
||||
"zen-logger": "^1.1.4"
|
||||
@ -45,7 +44,6 @@
|
||||
"@types/node": "^13.7.1",
|
||||
"@types/prop-types": "^15.7.3",
|
||||
"@types/react-test-renderer": "^17.0.1",
|
||||
"@types/serialize-javascript": "^5.0.0",
|
||||
"babel-jest": "^26.5.2",
|
||||
"build-plugin-component": "^0.2.11",
|
||||
"jest": "^26.6.3",
|
||||
|
||||
@ -5,22 +5,15 @@ import { isI18nData, RootSchema, NodeSchema, isJSExpression, JSSlot } from '@ali
|
||||
// moment对象配置
|
||||
import _moment from 'moment';
|
||||
import 'moment/locale/zh-cn';
|
||||
import pkg from '../../package.json';
|
||||
|
||||
import { isEmpty } from 'lodash';
|
||||
|
||||
import _serialize from 'serialize-javascript';
|
||||
import * as _jsonuri from 'jsonuri';
|
||||
|
||||
import IntlMessageFormat from 'intl-messageformat';
|
||||
import pkg from '../../package.json';
|
||||
|
||||
export const moment = _moment;
|
||||
moment.locale('zh-cn');
|
||||
(window as any).sdkVersion = pkg.version;
|
||||
|
||||
export { pick, isEqualWith as deepEqual, cloneDeep as clone, isEmpty, throttle, debounce } from 'lodash';
|
||||
export const jsonuri = _jsonuri;
|
||||
export const serialize = _serialize;
|
||||
|
||||
const ReactIs = require('react-is');
|
||||
const ReactPropTypesSecret = require('prop-types/lib/ReactPropTypesSecret');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user