diff --git a/tasks/config/defaults.js b/tasks/config/defaults.js index 0f5b9e834..8a6988fc1 100644 --- a/tasks/config/defaults.js +++ b/tasks/config/defaults.js @@ -7,6 +7,9 @@ module.exports = { // base path added to all other paths base : '', + // base path when installed with npm + pmRoot: 'semantic/', + // octal permission for output files, i.e. 644 (false does not adjust) permission : 744, diff --git a/tasks/config/project/install.js b/tasks/config/project/install.js index 043ddf684..206935a9b 100644 --- a/tasks/config/project/install.js +++ b/tasks/config/project/install.js @@ -11,6 +11,9 @@ var requireDotFile = require('require-dot-file') ; +console.log(defaults.paths); +return; + /******************************* When to Ask *******************************/ @@ -297,7 +300,7 @@ module.exports = { type : 'input', name : 'semanticRoot', message : 'Where should we put Semantic UI inside your project?', - default : 'semantic/' + default : defaults.pmRoot } ],