Skip to content

Commit

Permalink
feat(config): add DIR_PROJECT_CONFIG constant
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-le-singe committed Jan 12, 2017
1 parent cb1e502 commit 7979583
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ const config = {
DIR_BUILD: 'build',
DIR_SERVER: 'server',
DIR_TEST: '__tests__',
DIR_NODE_MODULES: 'node_modules'
DIR_NODE_MODULES: 'node_modules',
DIR_PROJECT_CONFIG: 'config',
}

const paths = (dir = 'base') => {
Expand All @@ -58,7 +59,8 @@ const paths = (dir = 'base') => {
build: base(config.DIR_BUILD),
server: base(config.DIR_SERVER),
test: base(config.DIR_TEST),
nodeModules: base(config.DIR_NODE_MODULES)
nodeModules: base(config.DIR_NODE_MODULES),
projectConfig: base(config.DIR_PROJECT_CONFIG),
}

return _paths[dir]
Expand Down

0 comments on commit 7979583

Please sign in to comment.