12 lines
576 B
TypeScript
12 lines
576 B
TypeScript
import * as plugins from './plugins.js';
|
|
|
|
export const packageDir = plugins.path.join(
|
|
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
|
'../'
|
|
);
|
|
export const assetsDir = plugins.path.join(packageDir, './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); |