mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
53 lines
908 B
TypeScript
53 lines
908 B
TypeScript
import { merge } from 'webpack-merge';
|
|
|
|
import {
|
|
getAllDependencies,
|
|
hasDependency,
|
|
getDependencyPath,
|
|
} from './dependencies';
|
|
import { determineProjectFlavor } from './flavor';
|
|
import { error, info, warn } from './log';
|
|
import { getValue } from './config';
|
|
import {
|
|
getAbsoluteDistPath,
|
|
getDistPath,
|
|
getEntryPath,
|
|
getEntryDirPath,
|
|
getPackageJson,
|
|
getPlatform,
|
|
getProjectRootPath,
|
|
} from './project';
|
|
|
|
// intentionally populated manually
|
|
// as this generates nicer typings
|
|
// that show all the utils inline
|
|
// rather than imports to types
|
|
export default {
|
|
merge,
|
|
config: {
|
|
getValue,
|
|
},
|
|
dependencies: {
|
|
getAllDependencies,
|
|
hasDependency,
|
|
getDependencyPath,
|
|
},
|
|
flavor: {
|
|
determineProjectFlavor,
|
|
},
|
|
log: {
|
|
error,
|
|
info,
|
|
warn,
|
|
},
|
|
project: {
|
|
getProjectRootPath,
|
|
getAbsoluteDistPath,
|
|
getEntryPath,
|
|
getEntryDirPath,
|
|
getDistPath,
|
|
getPlatform,
|
|
getPackageJson,
|
|
},
|
|
};
|