smartfile/ts/smartfile.plugins.ts

22 lines
605 B
TypeScript
Raw Normal View History

2019-09-27 09:00:17 +00:00
// node native scope
import * as fs from 'fs';
import * as path from 'path';
2019-09-29 14:43:31 +00:00
export { fs, path };
2019-09-27 09:00:17 +00:00
// @pushrocks scope
import * as smarthash from '@pushrocks/smarthash';
2020-03-04 16:31:13 +00:00
import * as smartmime from '@pushrocks/smartmime';
2019-09-27 09:00:17 +00:00
import * as smartpath from '@pushrocks/smartpath';
import * as smartpromise from '@pushrocks/smartpromise';
import * as smartrequest from '@pushrocks/smartrequest';
2020-03-04 16:31:13 +00:00
export { smarthash, smartmime, smartpath, smartpromise, smartrequest };
2019-09-27 09:00:17 +00:00
// third party scope
import * as fsExtra from 'fs-extra';
import glob from 'glob';
import yaml from 'js-yaml';
2019-09-29 14:43:31 +00:00
export { fsExtra, glob, yaml };