2016-03-12 09:21:16 +00:00
|
|
|
"use strict";
|
2016-05-25 03:23:48 +00:00
|
|
|
require("typings-global");
|
2016-02-19 23:53:23 +00:00
|
|
|
var plugins = require("./npmts.plugins");
|
2016-08-30 14:35:46 +00:00
|
|
|
// NPMTS Paths
|
2016-06-09 22:53:30 +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-05-19 22:55:14 +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
|
|
|
|
exports.pagesDir = plugins.path.join(exports.cwd, "pages/");
|
|
|
|
exports.pagesApiDir = plugins.path.join(exports.pagesDir, "/api");
|
2016-05-19 22:55:14 +00:00
|
|
|
exports.npmtsAssetsDir = plugins.path.join(__dirname, "../assets/");
|
2016-02-22 21:22:39 +00:00
|
|
|
//Files
|
2016-05-19 22:55:14 +00:00
|
|
|
exports.indexTS = plugins.path.join(exports.cwd, "ts/index.ts");
|
|
|
|
exports.testTS = plugins.path.join(exports.cwd, "ts/test.ts");
|