@electron-forge/core
Version:
A complete tool for building modern Electron applications
25 lines (23 loc) • 584 B
JavaScript
const {
utils: { fromBuildIdentifier },
} = require('../../../src/api');
module.exports = {
buildIdentifier: 'beta',
makers: [],
publishers: [],
packagerConfig: { foo: 'bar', baz: {} },
s3: {},
electronReleaseServer: {},
magicFn: () => 'magic result',
topLevelProp: fromBuildIdentifier({ beta: 'foo' }),
topLevelUndef: fromBuildIdentifier({ stable: 'heya' }),
regexp: /foo/,
sub: {
prop: {
inArray: [fromBuildIdentifier({ beta: 'arr' }), 'natural', 'array'],
deep: {
prop: fromBuildIdentifier({ beta: 'bar' }),
},
},
},
};