tscoverage/ts/npmts.paths.ts

25 lines
782 B
TypeScript
Raw Normal View History

2016-09-06 15:21:25 +00:00
import plugins = require('./npmts.plugins')
2016-08-30 14:35:46 +00:00
// NPMTS Paths
2016-09-06 15:21:25 +00:00
export let npmtsPackageRoot = plugins.path.join(__dirname,'../')
2016-06-09 22:53:30 +00:00
2016-08-30 14:35:46 +00:00
// Project paths
2016-09-06 15:21:25 +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-09-06 15:21:25 +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
2016-09-06 15:21:25 +00:00
export let pagesDir = plugins.path.join(cwd,'pages/')
export let pagesApiDir = plugins.path.join(pagesDir,'/api')
2016-08-30 14:35:46 +00:00
2016-09-06 15:21:25 +00:00
export let npmtsAssetsDir = plugins.path.join(__dirname,'../assets/')
2016-03-14 03:32:52 +00:00
2016-09-06 15:21:25 +00:00
// Files
export let indexTS = plugins.path.join(cwd,'ts/index.ts')
export let testTS = plugins.path.join(cwd,'ts/test.ts')