2016-03-12 09:21:16 +00:00
|
|
|
"use strict";
|
2016-09-14 11:16:36 +00:00
|
|
|
require("typings-global");
|
|
|
|
var plugins = require("./npmts.plugins");
|
2016-08-30 14:35:46 +00:00
|
|
|
// NPMTS Paths
|
2016-09-06 15:21:25 +00:00
|
|
|
exports.npmtsPackageRoot = plugins.path.join(__dirname, '../');
|
2016-08-30 14:35:46 +00:00
|
|
|
// Project paths
|
2016-06-10 04:14:12 +00:00
|
|
|
exports.cwd = process.cwd();
|
2016-08-30 14:35:46 +00:00
|
|
|
// Directories
|
2016-09-06 15:21:25 +00:00
|
|
|
exports.tsDir = plugins.path.join(exports.cwd, 'ts/');
|
|
|
|
exports.distDir = plugins.path.join(exports.cwd, 'dist/');
|
|
|
|
exports.testDir = plugins.path.join(exports.cwd, 'test/');
|
|
|
|
exports.typingsDir = plugins.path.join(exports.cwd, 'ts/typings/');
|
|
|
|
exports.coverageDir = plugins.path.join(exports.cwd, 'coverage/');
|
2016-08-30 14:35:46 +00:00
|
|
|
// Pages
|
2016-09-06 15:21:25 +00:00
|
|
|
exports.pagesDir = plugins.path.join(exports.cwd, 'pages/');
|
|
|
|
exports.pagesApiDir = plugins.path.join(exports.pagesDir, '/api');
|
|
|
|
exports.npmtsAssetsDir = plugins.path.join(__dirname, '../assets/');
|
|
|
|
// Files
|
|
|
|
exports.indexTS = plugins.path.join(exports.cwd, 'ts/index.ts');
|
|
|
|
exports.testTS = plugins.path.join(exports.cwd, 'ts/test.ts');
|