You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
379 B
20 lines
379 B
// @flow
|
|
import demonpatcher from "demonpatcher"
|
|
import webpack from "./api/webpack.js"
|
|
import common from "./api/common.js"
|
|
import commands from "./api/commands.js"
|
|
|
|
async function init(obj: Object): Promise<void> {
|
|
obj.demon = {
|
|
patcher: demonpatcher,
|
|
webpack,
|
|
common,
|
|
commands: {
|
|
add: commands.add
|
|
}
|
|
}
|
|
commands.init(obj)
|
|
}
|
|
|
|
export default init;
|