2016-05-25 03:23:48 +00:00
|
|
|
import "typings-global";
|
2016-02-19 23:53:23 +00:00
|
|
|
import plugins = require("./npmts.plugins");
|
2016-05-19 22:55:14 +00:00
|
|
|
|
2016-08-30 14:35:46 +00:00
|
|
|
// NPMTS Paths
|
2016-06-09 22:53:30 +00:00
|
|
|
export let npmtsPackageRoot = plugins.path.join(__dirname,"../");
|
|
|
|
|
|
|
|
|
2016-08-30 14:35:46 +00:00
|
|
|
// Project paths
|
2016-06-10 04:14:12 +00:00
|
|
|
export let cwd = process.cwd();
|
2016-02-22 21:22:39 +00:00
|
|
|
|
2016-08-30 14:35:46 +00:00
|
|
|
// Directories
|
2016-05-19 22:55:14 +00:00
|
|
|
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-05-19 22:55:14 +00:00
|
|
|
export let npmtsAssetsDir = plugins.path.join(__dirname,"../assets/");
|
2016-03-14 03:32:52 +00:00
|
|
|
|
2016-02-22 21:22:39 +00:00
|
|
|
//Files
|
2016-05-19 22:55:14 +00:00
|
|
|
export let indexTS = plugins.path.join(cwd,"ts/index.ts");
|
|
|
|
export let testTS = plugins.path.join(cwd,"ts/test.ts");
|