13 lines
563 B
TypeScript
13 lines
563 B
TypeScript
import * as plugins from './plugins.js';
|
|
|
|
export const cwd = plugins.path.join(
|
|
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
|
'../'
|
|
);
|
|
export const assetsDir = plugins.path.join(cwd, './assets');
|
|
export const keysDir = plugins.path.join(assetsDir, './keys');
|
|
export const dnsRecordsDir = plugins.path.join(assetsDir, './dns-records');
|
|
export const sentEmailsDir = plugins.path.join(assetsDir, './sent-emails');
|
|
export const receivedEmailsDir = plugins.path.join(assetsDir, './received-emails');
|
|
plugins.smartfile.fs.ensureDirSync(keysDir);
|