electron-webpack
Version:
> Because setting up `webpack` in the `electron` environment shouldn't be difficult.
142 lines (140 loc) • 3.89 kB
JSON
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"definitions": {
"ElectronWebpackConfigurationMain": {
"additionalProperties": false,
"properties": {
"extraEntries": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"typeof": "function"
},
{
"type": "string"
}
],
"description": "The extra [entry points](https://webpack.js.org/concepts/entry-points/)."
},
"sourceDirectory": {
"type": [
"null",
"string"
]
},
"webpackConfig": {
"type": [
"null",
"string"
]
}
},
"title": "ElectronWebpackConfigurationMain",
"type": "object"
},
"ElectronWebpackConfigurationRenderer": {
"additionalProperties": false,
"properties": {
"dll": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"typeof": "function"
},
{
"type": "null"
}
]
},
"sourceDirectory": {
"type": [
"null",
"string"
]
},
"webpackConfig": {
"type": [
"null",
"string"
]
},
"webpackDllConfig": {
"type": [
"null",
"string"
]
}
},
"title": "ElectronWebpackConfigurationRenderer",
"type": "object"
}
},
"properties": {
"commonSourceDirectory": {
"type": [
"null",
"string"
]
},
"electronVersion": {
"type": "string"
},
"externals": {
"items": {
"type": "string"
},
"type": "array"
},
"main": {
"anyOf": [
{
"$ref": "#/definitions/ElectronWebpackConfigurationMain"
},
{
"type": "null"
}
]
},
"projectDir": {
"type": [
"null",
"string"
]
},
"renderer": {
"anyOf": [
{
"$ref": "#/definitions/ElectronWebpackConfigurationRenderer"
},
{
"type": "null"
}
]
},
"title": {
"type": [
"null",
"string",
"boolean"
]
},
"whiteListedModules": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
}