{ "name": "buttplug", "version": "5.0.2", "description": "Buttplug Client Implementation for Typescript/Javascript", "homepage": "https://github.com/buttplugio/buttplug-js/", "repository": { "type": "git", "url": "git+https://github.com/buttplugio/buttplug-js.git" }, "author": "Nonpolynomial Labs, LLC", "keywords": [ "teledildonics", "hardware" ], "license": "BSD-3-Clause", "bugs": { "url": "https://github.com/buttplugio/buttplug-js/issues" }, "main": "./dist/main/index.js", "types": "./dist/main/index.d.ts", "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "trash dist dist-bundle && yarn build:all", "build:all": "yarn build:main && yarn build:web", "build:main": "tsc -p tsconfig.json", "build:doc": "typedoc --options typedocconfig.js --out doc ./src/index.ts", "build:web": "vite build", "pretest": "yarn build:main", "test": "jest tests/*", "web-test": "jest web-tests/test-web-library.ts", "web-test-ci": "jest --runInBand web-tests/test-web-library.ts" }, "dependencies": { "eventemitter3": "^5.0.4", "ws": "^8.20.1" }, "devDependencies": { "@types/commander": "^2.12.5", "@types/expect-puppeteer": "^5.0.6", "@types/jest": "^30.0.0", "@types/jest-environment-puppeteer": "^5.0.6", "@types/node": "^25.8.0", "@types/uuid-parse": "^1.0.2", "@types/ws": "^8.18.1", "@typescript-eslint/eslint-plugin": "^8.59.3", "@typescript-eslint/parser": "^8.59.3", "copyfiles": "^2.4.1", "cross-env": "^10.1.0", "eslint": "^10.4.0", "eslint-plugin-node": "^11.1.0", "gts": "^7.0.0", "jest": "^30.4.2", "mock-socket": "^9.3.1", "pkg": "^5.8.1", "tmp": "^0.2.5", "trash": "^10.1.1", "trash-cli": "^7.2.0", "ts-jest": "^29.4.9", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typedoc": "^0.28.19", "typescript": "^6.0.3", "vite": "^8.0.13", "vite-plugin-dts": "^5.0.0", "yarn": "^1.22.22" }, "jest": { "moduleFileExtensions": [ "ts", "js", "json" ], "transform": { "^.+\\.ts$": ["ts-jest", { "tsconfig": "tests/tsconfig.json" }] }, "testMatch": [ "/tests/**/test-*.ts", "/web-tests/**/test-*.ts" ], "coverageDirectory": "./coverage/", "coverageReporters": [ "json" ], "collectCoverage": true } }