tscoverage/dist/npmts.paths.js

20 lines
849 B
JavaScript
Raw Permalink Normal View History

2016-03-12 09:21:16 +00:00
"use strict";
2016-09-22 21:23:16 +00:00
const 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');