tsdoc/ts/paths.ts

17 lines
635 B
TypeScript
Raw Permalink Normal View History

2024-04-03 11:34:26 +00:00
import * as plugins from './plugins.js';
2019-05-14 15:39:33 +00:00
2019-05-28 10:11:11 +00:00
// dirs
2024-06-22 11:20:55 +00:00
export const packageDir = plugins.path.join(
plugins.smartpath.get.dirnameFromImportMetaUrl(import.meta.url),
'../',
);
2019-05-14 15:39:33 +00:00
export const cwd = process.cwd();
export const binDir = plugins.path.join(packageDir, './node_modules/.bin');
2019-05-28 10:11:11 +00: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 10:11:11 +00:00
// files
2019-05-28 10:11:53 +00: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');