2018-04-04 20:25:13 +00:00
|
|
|
import * as plugins from './npmci.plugins';
|
2016-06-05 21:24:11 +00:00
|
|
|
|
2019-08-29 18:26:23 +00:00
|
|
|
export const cwd = process.cwd();
|
2016-06-05 21:24:11 +00:00
|
|
|
|
2019-08-29 18:26:23 +00:00
|
|
|
// package paths
|
|
|
|
export const NpmciPackageRoot = plugins.path.join(__dirname, '../');
|
|
|
|
export const NpmciPackageConfig = plugins.path.join(NpmciPackageRoot, './config.json');
|
|
|
|
|
|
|
|
// project paths
|
|
|
|
export const NpmciProjectDir = cwd;
|
|
|
|
export const NpmciProjectNogitDir = plugins.path.join(NpmciProjectDir, './.nogit');
|
|
|
|
export const NpmciTestDir = plugins.path.join(cwd, './test');
|
|
|
|
export const NpmciCacheDir = plugins.path.join(cwd, './.npmci_cache');
|