mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 04:29:16 +00:00
next save conversation
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name": "@bot-whatsapp/provider",
|
||||
"version": "0.0.1",
|
||||
"description": "Esto es el conector a Twilio, Meta, etc...",
|
||||
"main": "./lib/bundle.mock.cjs",
|
||||
"main": "./lib/mock/index.cjs",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"test.unit": "cross-env NODE_ENV=test node ../../node_modules/uvu/bin.js tests"
|
||||
@@ -15,6 +15,8 @@
|
||||
"qr-image": "^3.2.0"
|
||||
},
|
||||
"files": [
|
||||
"./lib/*"
|
||||
"./lib/mock/*",
|
||||
"./lib/twilio/*",
|
||||
"./lib/web-whatsapp/*"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -5,7 +5,7 @@ module.exports = [
|
||||
{
|
||||
input: join(__dirname, 'web-whatsapp', 'index.js'),
|
||||
output: {
|
||||
file: join(__dirname, 'lib', 'bundle.web-whatsapp.cjs'),
|
||||
file: join(__dirname, 'lib', 'web-whatsapp', 'index.cjs'),
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [commonjs()],
|
||||
@@ -13,7 +13,7 @@ module.exports = [
|
||||
{
|
||||
input: join(__dirname, 'twilio', 'index.js'),
|
||||
output: {
|
||||
file: join(__dirname, 'lib', 'bundle.twilio.cjs'),
|
||||
file: join(__dirname, 'lib', 'twilio', 'index.cjs'),
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [commonjs()],
|
||||
@@ -21,7 +21,7 @@ module.exports = [
|
||||
{
|
||||
input: join(__dirname, 'mock', 'index.js'),
|
||||
output: {
|
||||
file: join(__dirname, 'lib', 'bundle.mock.cjs'),
|
||||
file: join(__dirname, 'lib', 'mock', 'index.cjs'),
|
||||
format: 'cjs',
|
||||
},
|
||||
plugins: [commonjs()],
|
||||
|
||||
Reference in New Issue
Block a user