1 | const path = require('path')
|
2 | const fs = require('fs')
|
3 |
|
4 |
|
5 |
|
6 | const appDirectory = fs.realpathSync(process.cwd())
|
7 | const resolveApp = relativePath => path.resolve(appDirectory, relativePath)
|
8 | const resolveOwn = relativePath => path.resolve(__dirname, '..', relativePath)
|
9 |
|
10 | module.exports = {
|
11 | appTestEntry: resolveApp('test/index.js'),
|
12 | appEntry: resolveApp('bld/index.jsx'),
|
13 | appDist: resolveApp('dist'),
|
14 | appZip: resolveApp('zip'),
|
15 | appNodeModules: resolveApp('node_modules'),
|
16 | appOutput: resolveApp('dist/package.js'),
|
17 | appResource: resolveApp('src/resource'),
|
18 | appDistResource: resolveApp('dist/resource'),
|
19 | appEnvoyConfig: resolveApp('envoy.config.js'),
|
20 | ownEslintConfig: resolveOwn('./config/eslintconfig')
|
21 | }
|