tscoverage/ts/npmts.paths.ts

25 lines
806 B
TypeScript
Raw Normal View History

import plugins = require('./npmts.plugins');
2016-08-30 14:35:46 +00:00
// NPMTS Paths
export let npmtsPackageRoot = plugins.path.join(__dirname, '../');
2016-06-09 22:53:30 +00:00
2016-08-30 14:35:46 +00:00
// Project paths
export let cwd = process.cwd();
2016-02-22 21:22:39 +00:00
2016-08-30 14:35:46 +00:00
// Directories
export let tsDir = plugins.path.join(cwd, 'ts/');
export let distDir = plugins.path.join(cwd, 'dist/');
export let testDir = plugins.path.join(cwd, 'test/');
export let typingsDir = plugins.path.join(cwd, 'ts/typings/');
export let coverageDir = plugins.path.join(cwd, 'coverage/');
2016-02-22 21:22:39 +00:00
2016-08-30 14:35:46 +00:00
// Pages
export let pagesDir = plugins.path.join(cwd, 'pages/');
export let pagesApiDir = plugins.path.join(pagesDir, '/api');
2016-08-30 14:35:46 +00:00
export let npmtsAssetsDir = plugins.path.join(__dirname, '../assets/');
2016-03-14 03:32:52 +00:00
2016-09-06 15:21:25 +00:00
// Files
export let indexTS = plugins.path.join(cwd, 'ts/index.ts');
export let testTS = plugins.path.join(cwd, 'ts/test.ts');