hypnagaga/bin/buildPackage/locations.js
2022-08-11 15:43:38 +01:00

8 lines
331 B
JavaScript

import path from 'path';
const __dirname = new URL('.', import.meta.url).pathname;
export const ROOT = path.resolve(__dirname, '../../');
export const PACKAGE = path.join(ROOT, 'package.json');
export const LIB = path.join(ROOT, 'src');
export const DIST = path.join(ROOT, 'dist');
export const TYPES = path.join(DIST, '@types');