This commit is contained in:
Adhiraj Singh
2020-07-01 17:27:27 +05:30
parent 489505e78f
commit 7a2657a4ad
2 changed files with 6 additions and 8 deletions

View File

@@ -2,9 +2,9 @@
"name": "@adiwajshing/baileys", "name": "@adiwajshing/baileys",
"version": "2.0.0", "version": "2.0.0",
"description": "WhatsApp Web API", "description": "WhatsApp Web API",
"main": "lib/WAClient/WAClient.js",
"homepage": "https://github.com/adiwajshing/Baileys", "homepage": "https://github.com/adiwajshing/Baileys",
"type": "module", "main": "lib/WAClient/WAClient.js",
"types": "lib/WAClient/WAClient.d.ts",
"keywords": [ "keywords": [
"whatsapp", "whatsapp",
"js-whatsapp", "js-whatsapp",
@@ -17,11 +17,10 @@
"automation" "automation"
], ],
"scripts": { "scripts": {
"prepare": "npm run tsc", "prepare": "npm run build",
"test": "mocha --timeout 30000 -r ts-node/register */Tests.ts", "test": "mocha --timeout 30000 -r ts-node/register */Tests.ts",
"lint": "eslint '*/*.ts' --quiet --fix", "lint": "eslint '*/*.ts' --quiet --fix",
"tsc": "tsc", "build": "tsc",
"dev": "ts-node-dev --respawn --transpileOnly ./app/app.ts",
"example": "npx ts-node Example/example.ts" "example": "npx ts-node Example/example.ts"
}, },
"author": "Adhiraj Singh", "author": "Adhiraj Singh",

View File

@@ -2,15 +2,14 @@
"compilerOptions": { "compilerOptions": {
"target": "es5", "target": "es5",
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node",
"allowJs": true, "allowJs": true,
"checkJs": false, "checkJs": false,
"outDir": "lib/", "outDir": "lib",
"strict": false, "strict": false,
"noImplicitThis": true, "noImplicitThis": true,
"esModuleInterop": true, "esModuleInterop": true,
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"resolveJsonModule": true "declaration": true
}, },
"include": ["*/*.ts"], "include": ["*/*.ts"],
"exclude": ["node_modules", "*/Tests.ts"] "exclude": ["node_modules", "*/Tests.ts"]