mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-05 04:37:47 +08:00
28 lines
1.3 KiB
TypeScript
28 lines
1.3 KiB
TypeScript
|
import { resolve } from 'path'
|
||
|
|
||
|
export const projRoot = resolve(__dirname, '..', '..')
|
||
|
export const pkgRoot = resolve(projRoot, 'packages')
|
||
|
export const compRoot = resolve(pkgRoot, 'components')
|
||
|
export const themeRoot = resolve(pkgRoot, 'theme-chalk')
|
||
|
export const hookRoot = resolve(pkgRoot, 'hooks')
|
||
|
export const localeRoot = resolve(pkgRoot, 'locale')
|
||
|
export const directiveRoot = resolve(pkgRoot, 'directives')
|
||
|
export const epRoot = resolve(pkgRoot, 'element-plus')
|
||
|
export const utilRoot = resolve(pkgRoot, 'utils')
|
||
|
export const docRoot = resolve(projRoot, 'docs')
|
||
|
|
||
|
/** dist */
|
||
|
export const buildOutput = resolve(projRoot, 'dist')
|
||
|
/** dist/element-plus */
|
||
|
export const epOutput = resolve(buildOutput, 'element-plus')
|
||
|
|
||
|
export const projPackage = resolve(projRoot, 'package.json')
|
||
|
export const compPackage = resolve(compRoot, 'package.json')
|
||
|
export const themePackage = resolve(themeRoot, 'package.json')
|
||
|
export const hookPackage = resolve(hookRoot, 'package.json')
|
||
|
export const localePackage = resolve(localeRoot, 'package.json')
|
||
|
export const directivePackage = resolve(directiveRoot, 'package.json')
|
||
|
export const epPackage = resolve(epRoot, 'package.json')
|
||
|
export const utilPackage = resolve(utilRoot, 'package.json')
|
||
|
export const docPackage = resolve(docRoot, 'package.json')
|