-
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathpackage.json
160 lines (160 loc) · 4.96 KB
/
package.json
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
{
"name": "whatsapp-api-js",
"version": "6.0.0",
"author": "Secreto31126",
"description": "A TypeScript server agnostic Whatsapp's Official API framework",
"license": "MIT",
"type": "module",
"sideEffects": false,
"engines": {
"node": ">=16"
},
"files": [
"lib/**/*"
],
"types": "lib/index.d.ts",
"module": "lib/index.js",
"exports": {
".": {
"types": "./lib/index.d.ts",
"import": "./lib/index.js"
},
"./messages": {
"types": "./lib/messages/index.d.ts",
"import": "./lib/messages/index.js"
},
"./messages/*": {
"types": "./lib/messages/*.d.ts",
"import": "./lib/messages/*.js"
},
"./setup": null,
"./setup/index": null,
"./setup/*": {
"types": "./lib/setup/*.d.ts",
"import": "./lib/setup/*.js"
},
"./middleware": null,
"./middleware/index": null,
"./middleware/*": {
"types": "./lib/middleware/*.d.ts",
"import": "./lib/middleware/*.js"
},
"./emitters": {
"types": "./lib/emitters.d.ts"
},
"./types": {
"types": "./lib/types.d.ts",
"import": "./lib/types.js"
},
"./errors": {
"types": "./lib/errors.d.ts",
"import": "./lib/errors.js"
}
},
"//": [
"https://github.com/andrewbranch/example-subpath-exports-ts-compat/blob/main/examples/node_modules/types-versions-wildcards/package.json",
"Without this, IntelliSense will throw an error when importing subpaths ONLY on JS files, although it does run fine with Node.",
"Even more stunishing: if included, IntelliSense works even BETTER than with TS."
],
"typesVersions": {
"*": {
".": [
"lib/index.d.ts"
],
"messages": [
"lib/messages/index.d.ts"
],
"messages/*": [
"lib/messages/*.d.ts"
],
"setup/index": [],
"setup/*": [
"lib/setup/*.d.ts"
],
"middleware/index": [],
"middleware/*": [
"lib/middleware/*.d.ts"
],
"emitters": [
"lib/emitters.d.ts"
],
"types": [
"lib/types.d.ts"
],
"errors": [
"lib/errors.d.ts"
]
}
},
"scripts": {
"build": "npm run build:code && npm run build:types",
"build:dev": "npm run build:code:dev && npm run build:types:dev",
"build:code": "node -r dotenv/config build.js",
"build:code:dev": "npm run build:code",
"build:types": "tsc",
"build:types:dev": "npm run build:types",
"build:standalone": "esbuild src/standalone.ts --outfile=lib/standalone.js --bundle --platform=neutral --target=node10 --minify-syntax",
"test": "node --test --test-reporter=@reporters/github --test-reporter-destination=stdout --test-reporter=spec --test-reporter-destination=stdout",
"test:build": "npm run build && npm run test",
"test:watch": "node --test --watch",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"prettier": "prettier --check .",
"prettier:write": "prettier --write .",
"coverage": "c8 node --test --test-reporter=@reporters/silent",
"document": "typedoc && cp -r docs_statics/* docs/",
"clear": "rm -rf docs/ docs_temp/ lib/ coverage/"
},
"keywords": [
"whatsapp",
"cloud",
"api",
"framework",
"whatsapp-cloud",
"cloud-api",
"whatsapp-cloud-api",
"whatsapp-business",
"whatsapp-business-api",
"bot",
"whatsapp-bot",
"chatbot",
"bot-framework",
"typescript",
"server-agnostic",
"nodejs",
"deno",
"bun",
"bot-api",
"whatsapp-api",
"business-api"
],
"repository": {
"type": "git",
"url": "https://github.com/Secreto31126/whatsapp-api-js.git"
},
"devDependencies": {
"@adonisjs/http-server": "7.4.0",
"@eslint/js": "9.17.0",
"@reporters/github": "1.7.2",
"@reporters/silent": "1.2.7",
"@types/eslint__js": "8.42.3",
"@types/express": "5.0.0",
"@types/node": "18.19.68",
"@vercel/node": "5.0.0",
"all-contributors-cli": "6.26.1",
"c8": "10.1.3",
"dotenv": "16.4.7",
"esbuild": "0.24.2",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-tsdoc": "0.4.0",
"glob": "11.0.0",
"globals": "15.14.0",
"prettier": "3.4.2",
"sinon": "19.0.2",
"typedoc": "0.27.6",
"typescript": "5.7.2",
"typescript-eslint": "8.19.0",
"undici": "7.2.0"
}
}