2024-04-03 13:34:26 +02:00
|
|
|
import * as plugins from './plugins.js';
|
2019-05-14 17:39:33 +02:00
|
|
|
|
2019-05-28 12:11:11 +02:00
|
|
|
// dirs
|
2024-06-22 13:20:55 +02:00
|
|
|
export const packageDir = plugins.path.join(
|
|
|
|
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
|
|
|
|
'../',
|
|
|
|
);
|
2019-05-14 17:39:33 +02:00
|
|
|
export const cwd = process.cwd();
|
|
|
|
export const binDir = plugins.path.join(packageDir, './node_modules/.bin');
|
2019-05-28 12:11:11 +02:00
|
|
|
export const assetsDir = plugins.path.join(packageDir, './assets');
|
2020-11-24 20:24:30 +00:00
|
|
|
export const publicDir = plugins.path.join(cwd, './public');
|
|
|
|
export const tsDir = plugins.path.join(cwd, './ts');
|
2019-05-28 12:11:11 +02:00
|
|
|
|
|
|
|
// files
|
2019-05-28 12:11:53 +02:00
|
|
|
export const tsconfigFile = plugins.path.join(assetsDir, './tsconfig.json');
|
2020-11-24 20:24:30 +00:00
|
|
|
export const typedocOptionsFile = plugins.path.join(assetsDir, './typedoc.json');
|