update to latest standards

This commit is contained in:
2017-03-18 16:23:47 +01:00
parent f056e062b3
commit 07610c007c
18 changed files with 808 additions and 185 deletions

View File

@@ -4,10 +4,28 @@ import * as plugins from './npmextra.plugins'
export let cwd = process.cwd()
export let packageDir = plugins.path.join(__dirname,'../')
// ----------------------
// keyValueStore specific
// ----------------------
/**
* keyValue base path
*/
export let kvBase = '~/.npmextra/kv'
export let kvCusomDir = plugins.path.join(kvBase, 'custom')
/**
* the base directory for custom string based key value store
*/
export let kvCustomDir = plugins.path.join(kvBase, 'custom')
/**
* the subdir for git based keyValue
*/
export let kvGitDir = plugins.path.join(kvBase, 'git')
/**
* keyValue for path based Key
*/
export let kvPathDir = plugins.path.join(kvBase, 'path')
// files