2016-02-27 16:45:44 +00:00
|
|
|
import path from 'path';
|
|
|
|
|
|
|
|
const paths = {
|
2017-04-29 14:52:12 +00:00
|
|
|
APP_SRC: 'app/src',
|
|
|
|
APP_DEST: 'app/lib',
|
|
|
|
CLI_SRC: 'src',
|
|
|
|
CLI_DEST: 'lib',
|
|
|
|
TEST_SRC: 'test',
|
|
|
|
TEST_DEST: 'built-tests',
|
2016-02-27 16:45:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
paths.APP_MAIN_JS = path.join(paths.APP_SRC, '/main.js');
|
2017-04-29 14:52:12 +00:00
|
|
|
paths.APP_ALL = `${paths.APP_SRC}/**/*`;
|
|
|
|
paths.APP_STATIC_ALL = `${path.join(paths.APP_SRC, 'static')}/**/*`;
|
|
|
|
paths.APP_STATIC_JS = `${path.join(paths.APP_SRC, 'static')}/**/*.js`;
|
2016-02-27 16:45:44 +00:00
|
|
|
paths.APP_STATIC_DEST = path.join(paths.APP_DEST, 'static');
|
2017-04-29 14:52:12 +00:00
|
|
|
paths.CLI_SRC_JS = `${paths.CLI_SRC}/**/*.js`;
|
|
|
|
paths.CLI_DEST_JS = `${paths.CLI_DEST}/**/*.js`;
|
|
|
|
paths.TEST_SRC_JS = `${paths.TEST_SRC}/**/*.js`;
|
|
|
|
paths.TEST_DEST_JS = `${paths.TEST_DEST}/**/*.js`;
|
2016-02-27 16:45:44 +00:00
|
|
|
|
|
|
|
export default paths;
|