UNPKG

2.09 kBPlain TextView Raw
1/**
2 * Wechaty Chatbot SDK - https://github.com/wechaty/wechaty
3 *
4 * @copyright 2016 Huan LI (李卓桓) <https://github.com/huan>, and
5 * Wechaty Contributors <https://github.com/wechaty>.
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 */
20export const PUPPET_DEPENDENCIES = {
21 /**
22 * The following puppets were DEPRECATED
23 */
24 // 'wechaty-puppet-ioscat' : '^0.5.22', // https://www.npmjs.com/package/wechaty-puppet-ioscat
25 // 'wechaty-puppet-padchat' : '^0.19.3', // https://www.npmjs.com/package/wechaty-puppet-padchat
26 // 'wechaty-puppet-padpro' : '^0.3.21', // https://www.npmjs.com/package/wechaty-puppet-padpro
27
28 /**
29 * Scoped puppets
30 */
31 '@juzibot/wechaty-puppet-donut': '^0.3', // https://www.npmjs.com/package/wechaty-puppet-donut (to be published)
32
33 /**
34 * Wechaty Internal Puppets: dependence by package.json
35 */
36 'wechaty-puppet-hostie' : '*', // https://www.npmjs.com/package/wechaty-puppet-hostie
37 'wechaty-puppet-mock' : '*', // https://www.npmjs.com/package/wechaty-puppet-mock
38
39 /**
40 * Wechaty External Puppets
41 */
42 'wechaty-puppet-padplus' : '^0.7.30', // https://www.npmjs.com/package/wechaty-puppet-padplus
43 'wechaty-puppet-puppeteer' : '^0.23.1', // https://www.npmjs.com/package/wechaty-puppet-puppeteer
44 'wechaty-puppet-wechat4u' : '^0.17.4', // https://www.npmjs.com/package/wechaty-puppet-wechat4u
45}
46
47export type PuppetModuleName = keyof typeof PUPPET_DEPENDENCIES
48
49export const PUPPET_NAME_DEFAULT: PuppetModuleName = 'wechaty-puppet-puppeteer'