UNPKG

@wppconnect/wa-js

Version:

WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web

100 lines (99 loc) 3.72 kB
{ "name": "@wppconnect/wa-js", "version": "4.3.0", "description": "WPPConnect/WA-JS is an open-source project with the aim of exporting functions from WhatsApp Web", "license": "Apache-2.0", "author": { "name": "Edgard Messias", "email": "edgardmessias@gmail.com", "url": "https://github.com/edgardmessias" }, "repository": { "type": "git", "url": "https://github.com/wppconnect-team/wa-js" }, "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/wppconnect-wa.js" } }, "types": "dist/index.d.ts", "scripts": { "build:dev": "webpack --devtool inline-source-map --mode development", "build:prd": "webpack", "changelog:last": "conventional-changelog -n ./changelog.config.cjs -r 2", "changelog:preview": "conventional-changelog -n ./changelog.config.cjs -u", "changelog:update": "conventional-changelog -n ./changelog.config.cjs -i CHANGELOG.md -s -r 0", "clean": "shx rm -rf dist", "commit": "cz", "docs:build": "npm run docs:clean && typedoc --gitRevision main", "docs:clean": "shx rm -rf docs", "launch:attach": "ts-node ./src/tools/launchAttach.ts", "launch:local": "ts-node ./src/tools/launchLocal.ts", "launch:protocol-log": "ts-node ./src/tools/launchProtocolLog.ts", "lint": "npx eslint --ext .ts src", "prepare": "husky install && npm run clean && npm run build:prd", "release": "release-it", "test": "playwright test --project tests", "test:prepare": "playwright test --project prepare --headed", "update-models-attributes": "ts-node ./src/tools/updateModelsAttributes.ts", "update-module-id": "ts-node ./src/tools/updateModuleID.ts", "wa-source:clean": "shx rm -rf wa-source", "wa-source:format": "sh -c 'prettier --ignore-path .prettierignore --write ./wa-source/$1' --", "wa-source:populate": "ts-node ./src/tools/populateWaSources.ts", "watch": "webpack watch --devtool inline-source-map --mode development" }, "devDependencies": { "@commitlint/cli": "^20.5.3", "@commitlint/config-conventional": "^20.5.3", "@commitlint/prompt-cli": "^20.5.3", "@eslint/js": "^10.0.1", "@playwright/test": "^1.60.0", "@tony.ganchev/eslint-plugin-header": "^3.4.4", "@types/debug": "^4.1.13", "@types/node": "^16.18.126", "@types/node-fetch": "^2.6.13", "@types/parse-data-url": "^3.0.2", "@types/shelljs": "^0.10.0", "@typescript-eslint/eslint-plugin": "^8.59.4", "@typescript-eslint/parser": "^8.59.4", "@wppconnect/wa-version": "^1.5.3967", "buffer": "^6.0.3", "compare-versions": "^6.1.1", "compressorjs": "^1.3.0", "conventional-changelog-angular": "^8.3.1", "conventional-changelog-cli": "^5.0.0", "debug": "^4.4.3", "eslint": "^10.4.0", "eslint-config-prettier": "^10.1.8", "eslint-plugin-import": "^2.32.0", "eslint-plugin-prettier": "^5.5.5", "eslint-plugin-simple-import-sort": "^12.1.1", "eventemitter2": "^6.4.9", "file-type": "~16.5.4", "husky": "^9.1.7", "lint-staged": "^16.4.0", "node-fetch": "^2.7.0", "parse-data-url": "^6.0.0", "playwright-chromium": "^1.60.0", "prettier": "^3.8.3", "release-it": "^19.2.4", "shx": "^0.4.0", "terser-webpack-plugin": "^5.6.0", "ts-loader": "^9.5.7", "ts-morph": "^27.0.2", "ts-node": "^10.9.2", "typedoc": "^0.28.19", "typedoc-plugin-mdn-links": "^5.1.1", "typedoc-plugin-missing-exports": "^4.1.3", "typescript": "^5.9.3", "typescript-debounce-decorator": "^0.0.18", "typescript-eslint": "^8.59.4", "webpack": "^5.106.2", "webpack-cli": "^7.0.2" }, "engines": { "whatsapp-web": ">=2.2326.10-beta" } }