HarshvardhanCn01/Voice-Assistant
0
1{2 "name": "playht",3 "version": "0.14.0",4 "description": "NodeJS SDK for PlayHT generative AI text-to-speech APIs",5 "files": [6 "dist/**/*",7 "README.md"8 ],9 "main": "dist/cjs/index.js",10 "module": "dist/esm/index.js",11 "typings": "dist/index.d.ts",12 "repository": "https://github.com/playht/playht-nodejs-sdk",13 "license": "MIT",14 "scripts": {15 "build:cjs": "esbuild src/index.ts --bundle --platform=node --format=cjs --outdir=dist/cjs",16 "build:esm": "esbuild src/index.ts --bundle --platform=node --format=esm --outdir=dist/esm",17 "build:protobufs": "pbjs -t static-module -w commonjs -o src/grpc-client/protos/api.js src/grpc-client/protoFiles/api.proto && pbts -o src/grpc-client/protos/api.d.ts src/grpc-client/protos/api.js",18 "clean": "rm -rf ./dist && rm -f src/grpc-client/protos/*.js src/grpc-client/protos/*.d.ts",19 "build": "yarn clean && yarn build:protobufs && tsc -p tsconfig.json --emitDeclarationOnly --outdir dist && yarn build:cjs && yarn build:esm",20 "test": "node --experimental-vm-modules node_modules/.bin/jest",21 "lint": "prettier --write . && eslint --ext .ts ./src --fix",22 "verify": "yarn check && yarn test",23 "check": "yarn build:protobufs && tsc -p tsconfig.json --noEmit && prettier --check . && eslint --ext .ts ./src",24 "release": "yarn && yarn verify && yarn build && cp ../../README.md . && npm publish || true && rm README.md",25 "release-alpha": "yarn && yarn verify && yarn build && cp ../../README.md . && npm publish --tag=alpha || true && rm README.md",26 "postpublish": "PACKAGE_VERSION=$(cat package.json | grep \\\"version\\\" | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag v$PACKAGE_VERSION && git push --tags"27 },28 "devDependencies": {29 "@jest/globals": "^29.7.0",30 "@types/jest": "^29.5.5",31 "@types/node": "^20.5.4",32 "@typescript-eslint/eslint-plugin": "^6.4.1",33 "@typescript-eslint/parser": "^6.4.1",34 "dotenv": "^16.4.5",35 "esbuild": "^0.19.2",36 "eslint": "^8.47.0",37 "eslint-config-prettier": "^9.0.0",38 "eslint-plugin-import": "^2.28.1",39 "jest": "^29.6.3",40 "prettier": "3.0.2",41 "protobufjs-cli": "^1.1.2",42 "ts-jest": "^29.1.1",43 "ts-node": "^10.9.1",44 "typescript": "^5.1.6"45 },46 "packageManager": "yarn@3.6.2",47 "dependencies": {48 "@grpc/grpc-js": "^1.9.4",49 "axios": "^1.4.0",50 "cross-fetch": "^4.0.0",51 "file-type": "^18.5.0",52 "protobufjs": "^7.2.5",53 "tslib": "^2.1.0"54 }55}56 