fix(core): update

This commit is contained in:
2019-07-04 16:56:37 +02:00
parent 85c9a9381a
commit 4d3b6ff3c9
10 changed files with 735 additions and 332 deletions

View File

@@ -1,6 +1,28 @@
export import crypto = require('crypto');
export import fs = require('fs');
export import path = require('path');
export import q = require('@pushrocks/smartpromise');
export import stream = require('stream');
export import through2 = require('through2');
// node native scope
import crypto from 'crypto';
import * as fs from 'fs';
import * as path from 'path';
import * as stream from 'stream';
export {
crypto,
fs,
path,
stream
};
// pushrocks scope
import * as smartpromise from '@pushrocks/smartpromise';
import * as smartjson from '@pushrocks/smartjson';
export {
smartpromise,
smartjson
};
// thirdparty scope
import through2 from 'through2';
export {
through2
};