chore: cleanup, ci workflows and formatting (#127064)
* ci: setup workflows, dependabot, labeler and commit linting * docs: update README, community files and issue templates * chore: configure prettier, editorconfig and format codebase * chore: restore changes lost during rebase * docs: adjust url for new logo * fix: align badges * chore: resolve conflicts and re-add temp lint
This commit is contained in:
parent
c2d978fd0a
commit
807efd502d
1 changed files with 6790 additions and 3547 deletions
126
package.json
126
package.json
|
|
@ -1,58 +1,72 @@
|
|||
{
|
||||
"name": "whatsapp-web.js",
|
||||
"version": "1.34.6",
|
||||
"description": "Library for interacting with the WhatsApp Web API ",
|
||||
"main": "./index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"scripts": {
|
||||
"test": "mocha tests --recursive --timeout 5000",
|
||||
"test-single": "mocha",
|
||||
"shell": "node --experimental-repl-await ./shell.js",
|
||||
"generate-docs": "npx jsdoc --configure .jsdoc.json --verbose"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/pedroslopez/whatsapp-web.js.git"
|
||||
},
|
||||
"keywords": [
|
||||
"whatsapp",
|
||||
"whatsapp-web",
|
||||
"api",
|
||||
"bot",
|
||||
"client",
|
||||
"node"
|
||||
],
|
||||
"author": "Pedro Lopez",
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/pedroslopez/whatsapp-web.js/issues"
|
||||
},
|
||||
"homepage": "https://wwebjs.dev/",
|
||||
"dependencies": {
|
||||
"fluent-ffmpeg": "2.1.3",
|
||||
"mime": "^3.0.0",
|
||||
"node-fetch": "^2.6.9",
|
||||
"node-webpmux": "3.1.7",
|
||||
"puppeteer": "^24.31.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node-fetch": "^2.5.12",
|
||||
"chai": "^4.3.4",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"dotenv": "^16.0.0",
|
||||
"eslint": "^8.4.1",
|
||||
"eslint-plugin-mocha": "^10.0.3",
|
||||
"jsdoc": "^3.6.4",
|
||||
"jsdoc-baseline": "^0.1.5",
|
||||
"mocha": "^9.0.2",
|
||||
"sinon": "^13.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"archiver": "^5.3.1",
|
||||
"fs-extra": "^10.1.0",
|
||||
"unzipper": "^0.10.11"
|
||||
}
|
||||
"name": "whatsapp-web.js",
|
||||
"version": "1.34.6",
|
||||
"description": "A Node.js library for interacting with WhatsApp Web",
|
||||
"main": "./index.js",
|
||||
"typings": "./index.d.ts",
|
||||
"scripts": {
|
||||
"test": "mocha tests --recursive --timeout 5000",
|
||||
"test-single": "mocha",
|
||||
"shell": "node --experimental-repl-await ./shell.js",
|
||||
"generate-docs": "npx jsdoc --configure .jsdoc.json --verbose",
|
||||
"lint": "eslint .",
|
||||
"lint:fix": "eslint . --fix",
|
||||
"format": "prettier --write .",
|
||||
"format:check": "prettier --check .",
|
||||
"check": "npm run lint && npm run format:check",
|
||||
"prepare": "is-ci || husky"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/pedroslopez/whatsapp-web.js.git"
|
||||
},
|
||||
"keywords": [
|
||||
"whatsapp",
|
||||
"whatsapp-web",
|
||||
"api",
|
||||
"bot",
|
||||
"client",
|
||||
"node"
|
||||
],
|
||||
"author": "Pedro Lopez",
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/pedroslopez/whatsapp-web.js/issues"
|
||||
},
|
||||
"homepage": "https://wwebjs.dev/",
|
||||
"dependencies": {
|
||||
"fluent-ffmpeg": "2.1.3",
|
||||
"mime": "^3.0.0",
|
||||
"node-fetch": "^2.6.9",
|
||||
"node-webpmux": "3.1.7",
|
||||
"puppeteer": "^24.31.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"is-ci": "^4.1.0",
|
||||
"@commitlint/cli": "^20.4.1",
|
||||
"@commitlint/config-conventional": "^20.4.1",
|
||||
"@types/node-fetch": "^2.5.12",
|
||||
"chai": "^4.3.4",
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"dotenv": "^16.0.0",
|
||||
"eslint": "^8.4.1",
|
||||
"eslint-config-prettier": "^10.1.8",
|
||||
"eslint-plugin-mocha": "^10.0.3",
|
||||
"eslint-plugin-prettier": "^5.5.5",
|
||||
"husky": "^9.1.7",
|
||||
"jsdoc": "^3.6.4",
|
||||
"jsdoc-baseline": "^0.1.5",
|
||||
"lint-staged": "^16.2.7",
|
||||
"mocha": "^9.0.2",
|
||||
"prettier": "^3.8.1",
|
||||
"sinon": "^13.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"archiver": "^5.3.1",
|
||||
"fs-extra": "^10.1.0",
|
||||
"unzipper": "^0.10.11"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue