Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function WindowsBuilder() {
Builder.apply(this, arguments);
this.deployTypes = {
// windows phone targets
'wp-emulator': 'development',
'wp-device': 'test',
'dist-phonestore': 'production',
// windows store targets
// 'ws-simulator': 'development',
'ws-local': 'development',
// 'ws-remote': 'test',
'dist-winstore': 'production'
};
this.targets = Object.keys(this.deployTypes);
function AndroidModuleBuilder() {
Builder.apply(this, arguments);
this.requiredArchitectures = this.packageJson.architectures;
this.compileSdkVersion = this.packageJson.compileSDKVersion; // this should always be >= maxSupportedApiLevel
this.minSupportedApiLevel = parseInt(this.packageJson.minSDKVersion);
this.minTargetApiLevel = parseInt(version.parseMin(this.packageJson.vendorDependencies['android sdk']));
this.maxSupportedApiLevel = parseInt(version.parseMax(this.packageJson.vendorDependencies['android sdk']));
}
function iOSModuleBuilder() {
Builder.apply(this, arguments);
}
function AndroidBaseBuilder() {
Builder.apply(this, arguments);
this.androidLibraries = [];
this.dependencyMap = JSON.parse(fs.readFileSync(path.join(this.platformPath, 'dependency.json')));
}
function MobileWebBuilder() {
Builder.apply(this, arguments);
this.templatesDir = path.join(this.platformPath, 'templates', 'build');
this.imageMimeTypes = {
'.png': 'image/png',
'.gif': 'image/gif',
'.jpg': 'image/jpg',
'.jpeg': 'image/jpg'
};
this.prefetch = [];
this.targets = ['web'];
}