@thingjs/xplugin-cli
Version:
UINO ThingJS-X 零代码平台插件二次开发脚手架,用于生成插件模板开发代码
18 lines (16 loc) • 479 B
JavaScript
import IndexJS from "./src/core/index.js";
import IndexJSON from "./src/core/index.json";
import DebuggerJSON from "./src/core/debugger.json";
//DefinePlugin name & Setting
const { name } = require('./package.json').defineXPlugin;
const code = new IndexJS();
code.setName(name);
export default {
code,
itemConfig: IndexJSON,
debugger: DebuggerJSON,
deployment: {
type: "core",
operation: "reload.run"//reload.run、run
}
};