forked from jshipster/generator-ng-super
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpaths.js
34 lines (29 loc) · 1 KB
/
paths.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
'use strict';
var templateBasePath = '../../templates/',
templateRootFolder = templateBasePath + 'root/',
templateAppFolder = templateRootFolder + 'app/',
templateGruntTasksFolder = templateRootFolder + '/tasks/',
templateComponentsFolder = templateBasePath + 'components/',
templateComponentsTestsFolder = templateBasePath + 'tests/';
var destinationBasePath = '',
destinationAppFolder = destinationBasePath + 'app/',
destinationSrcFolder = destinationAppFolder + 'src/',
destinationTestsFolder = destinationBasePath + 'tests/';
var templatePaths = {
base: templateBasePath,
app: templateAppFolder,
root: templateRootFolder,
gruntTasks: templateGruntTasksFolder,
components: templateComponentsFolder,
componentTests: templateComponentsTestsFolder
};
var destinationPaths = {
base: destinationBasePath,
app: destinationAppFolder,
src: destinationSrcFolder,
tests: destinationTestsFolder
};
module.exports = {
template: templatePaths,
destination: destinationPaths
};