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