-
Notifications
You must be signed in to change notification settings - Fork 0
/
.fast-alfred.config.cjs
42 lines (38 loc) · 1005 Bytes
/
.fast-alfred.config.cjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
const { author, description, homepage } = require('./package.json')
const README = `
Search contacts and engage with them via Alfred ✨
Supported apps:
- SMS
- Call
- WhatsApp
- Email
See the workflow codebase in here:
${homepage}
`.trim()
/**
* @type {import('fast-alfred').FastAlfredConfig}
*/
module.exports = {
bundlerOptions: {
/**
* Essential to include the native module
*
* This library hard-code the assets path to the native module
* `node_modules/node-mac-contacts/index.js`
*
* We have to change the build & assets path in order the script would be able to load the native module
*/
assets: ['./src/assets/contacts.node'],
assetsDir: 'Release',
targetDir: 'build',
},
workflowMetadata: {
name: 'Engage Contact',
category: 'Tools',
createdby: author.name,
webaddress: homepage,
description,
readme: README,
},
tabSize: 4,
}