fix(core): update

This commit is contained in:
2019-09-08 15:56:50 +02:00
parent af07a53053
commit 44bfff2a6b
6 changed files with 459 additions and 162 deletions

View File

@@ -3,4 +3,8 @@ import * as plugins from './smartsystem.plugins';
export class Smartsystem {
public env = new plugins.smartenv.Smartenv();
public cpus = plugins.os.cpus();
public network = new plugins.smartnetwork.SmartNetwork();
public get information() {
return plugins.systeminformation;
}
}

View File

@@ -1,16 +1,16 @@
// node native
import os from 'os'
import os from 'os';
export {
os
}
export { os };
import * as lik from '@pushrocks/lik';
import * as smartenv from '@pushrocks/smartenv';
import * as smartnetwork from '@pushrocks/smartnetwork';
import * as smartpromise from '@pushrocks/smartpromise';
export {
lik,
smartenv,
smartpromise
}
export { lik, smartenv, smartnetwork, smartpromise };
// third party
import * as systeminformation from 'systeminformation';
export { systeminformation };