meta-cloud-api
Version:
TypeScript wrapper for Meta's Cloud API
188 lines (187 loc) • 5.66 kB
JSON
{
"name": "meta-cloud-api",
"version": "0.2.44",
"description": "TypeScript wrapper for Meta's Cloud API",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"sideEffects": false,
"scripts": {
"prepublishOnly": "pnpm build",
"prepare": "husky",
"cz": "cz",
"dev": "tsup --watch",
"build": "tsup --clean",
"format": "prettier .",
"lint": "eslint .",
"clean": "rm -rf dist node_modules",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest --watch"
},
"publishConfig": {
"access": "public"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./messages": {
"types": "./dist/features/messages/index.d.ts",
"import": "./dist/features/messages/index.js",
"default": "./dist/features/messages/index.js"
},
"./media": {
"types": "./dist/features/media/index.d.ts",
"import": "./dist/features/media/index.js",
"default": "./dist/features/media/index.js"
},
"./profile": {
"types": "./dist/features/profile/index.d.ts",
"import": "./dist/features/profile/index.js",
"default": "./dist/features/profile/index.js"
},
"./flow": {
"types": "./dist/features/flow/index.d.ts",
"import": "./dist/features/flow/index.js",
"default": "./dist/features/flow/index.js"
},
"./phone": {
"types": "./dist/features/phone/index.d.ts",
"import": "./dist/features/phone/index.js",
"default": "./dist/features/phone/index.js"
},
"./template": {
"types": "./dist/features/template/index.d.ts",
"import": "./dist/features/template/index.js",
"default": "./dist/features/template/index.js"
},
"./waba": {
"types": "./dist/features/waba/index.d.ts",
"import": "./dist/features/waba/index.js",
"default": "./dist/features/waba/index.js"
},
"./qrCode": {
"types": "./dist/features/qrCode/index.d.ts",
"import": "./dist/features/qrCode/index.js",
"default": "./dist/features/qrCode/index.js"
},
"./twoStepVerification": {
"types": "./dist/features/twoStepVerification/index.d.ts",
"import": "./dist/features/twoStepVerification/index.js",
"default": "./dist/features/twoStepVerification/index.js"
},
"./encryption": {
"types": "./dist/features/encryption/index.d.ts",
"import": "./dist/features/encryption/index.js",
"default": "./dist/features/encryption/index.js"
},
"./registration": {
"types": "./dist/features/registration/index.d.ts",
"import": "./dist/features/registration/index.js",
"default": "./dist/features/registration/index.js"
},
"./shared/types": {
"types": "./dist/shared/types/index.d.ts",
"import": "./dist/shared/types/index.js",
"default": "./dist/shared/types/index.js"
},
"./shared/utils": {
"types": "./dist/shared/utils/index.d.ts",
"import": "./dist/shared/utils/index.js",
"default": "./dist/shared/utils/index.js"
},
"./core/webhook": {
"types": "./dist/core/webhook/index.d.ts",
"import": "./dist/core/webhook/index.js",
"default": "./dist/core/webhook/index.js"
},
"./core/whatsapp": {
"types": "./dist/core/whatsapp/index.d.ts",
"import": "./dist/core/whatsapp/index.js",
"default": "./dist/core/whatsapp/index.js"
},
"./package.json": "./package.json"
},
"keywords": [
"whatsapp-api",
"cloud-api",
"meta-api",
"typescript-sdk",
"whatsapp-business",
"whatsapp-cloud-api",
"messaging-api",
"node-api-client",
"meta-cloud",
"whatsapp-messaging",
"api-wrapper",
"typescript",
"nodejs",
"meta",
"facebook-api",
"whatsapp-integration",
"whatsapp-templates",
"media-api",
"flow-api",
"waba",
"business-messaging"
],
"author": "froggy1014",
"license": "MIT",
"homepage": "https://github.com/froggy1014/meta-cloud-api#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/froggy1014/meta-cloud-api.git"
},
"bugs": {
"url": "https://github.com/froggy1014/meta-cloud-api/issues"
},
"files": [
"dist",
"README.md"
],
"engines": {
"node": ">=18"
},
"devDependencies": {
"@changesets/cli": "^2.28.1",
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/cz-commitlint": "^19.6.1",
"@commitlint/types": "^19.5.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@types/eslint-config-prettier": "^6.11.3",
"@types/eslint__eslintrc": "^2.1.2",
"@types/node": "^22.15.29",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"commitizen": "^4.3.1",
"dotenv": "^16.4.7",
"eslint": "^9.20.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-only-warn": "^1.1.0",
"eslint-plugin-unused-imports": "^4.1.4",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"prettier": "^3.5.0",
"tsup": "^8.3.6",
"typescript": "^5.7.3",
"typescript-eslint": "^8.23.0",
"vitest": "^2.1.8"
},
"lint-staged": {
"**/*.{ts,tsx}": [
"prettier --write --ignore-unknown",
"eslint --fix"
]
},
"config": {
"commitizen": {
"path": "@commitlint/cz-commitlint"
}
},
"packageManager": "pnpm@10.11.0+sha512.6540583f41cc5f628eb3d9773ecee802f4f9ef9923cc45b69890fb47991d4b092964694ec3a4f738a420c918a333062c8b925d312f42e4f0c263eb603551f977"
}