tscoverage/dist/npmts.paths.js

21 lines
912 B
JavaScript
Raw Normal View History

2016-03-12 10:21:16 +01:00
"use strict";
2017-02-27 22:19:14 +01:00
Object.defineProperty(exports, "__esModule", { value: true });
2016-09-22 23:23:16 +02:00
const plugins = require("./npmts.plugins");
2016-08-30 16:35:46 +02:00
// NPMTS Paths
2016-09-06 17:21:25 +02:00
exports.npmtsPackageRoot = plugins.path.join(__dirname, '../');
2016-08-30 16:35:46 +02:00
// Project paths
2016-06-10 06:14:12 +02:00
exports.cwd = process.cwd();
2016-08-30 16:35:46 +02:00
// Directories
2016-09-06 17:21:25 +02: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 16:35:46 +02:00
// Pages
2016-09-06 17:21:25 +02: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');