Son CV dans un terminal web en Javascript! https://terminal-cv.gregandev.fr
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
terminal-cv/node_modules/@parcel/core/lib/TargetDescriptor.schema.js

117 lines
2.4 KiB

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.COMMON_TARGET_DESCRIPTOR_SCHEMA = exports.DESCRIPTOR_SCHEMA = exports.PACKAGE_DESCRIPTOR_SCHEMA = exports.ENGINES_SCHEMA = void 0;
const ENGINES_SCHEMA = {
type: 'object',
properties: {
browsers: {
oneOf: [{
type: 'array',
items: {
type: 'string'
}
}, {
type: 'string'
}]
}
},
__forbiddenProperties: ['browser'],
additionalProperties: {
type: 'string'
}
};
exports.ENGINES_SCHEMA = ENGINES_SCHEMA;
const PACKAGE_DESCRIPTOR_SCHEMA = {
type: 'object',
properties: {
context: {
type: 'string',
enum: ['node', 'browser', 'web-worker', 'electron-main', 'electron-renderer', 'service-worker']
},
includeNodeModules: {
oneOf: [{
type: 'boolean'
}, {
type: 'array',
items: {
type: 'string',
__type: 'a wildcard or filepath'
}
}, {
type: 'object',
properties: {},
additionalProperties: {
type: 'boolean'
}
}]
},
outputFormat: {
type: 'string',
enum: ['global', 'esmodule', 'commonjs']
},
distDir: {
type: 'string'
},
publicUrl: {
type: 'string'
},
isLibrary: {
type: 'boolean'
},
source: {
oneOf: [{
type: 'string'
}, {
type: 'array',
items: {
type: 'string'
}
}]
},
sourceMap: {
oneOf: [{
type: 'boolean'
}, {
type: 'object',
properties: {
inlineSources: {
type: 'boolean'
},
sourceRoot: {
type: 'string'
},
inline: {
type: 'boolean'
}
},
additionalProperties: false
}]
},
engines: ENGINES_SCHEMA,
optimize: {
type: 'boolean'
},
scopeHoist: {
type: 'boolean'
}
},
additionalProperties: false
};
exports.PACKAGE_DESCRIPTOR_SCHEMA = PACKAGE_DESCRIPTOR_SCHEMA;
const DESCRIPTOR_SCHEMA = { ...PACKAGE_DESCRIPTOR_SCHEMA,
properties: { ...PACKAGE_DESCRIPTOR_SCHEMA.properties,
distEntry: {
type: 'string'
}
}
};
exports.DESCRIPTOR_SCHEMA = DESCRIPTOR_SCHEMA;
const COMMON_TARGET_DESCRIPTOR_SCHEMA = {
oneOf: [PACKAGE_DESCRIPTOR_SCHEMA, {
enum: [false]
}]
};
exports.COMMON_TARGET_DESCRIPTOR_SCHEMA = COMMON_TARGET_DESCRIPTOR_SCHEMA;