UNPKG

@flyskypie/joypad-ts

Version:

A JavaScript library that lets you connect various gaming controllers to your browser using the Gamepad API.

73 lines (72 loc) 1.58 kB
{ "name": "@flyskypie/joypad-ts", "version": "0.1.2", "description": "A JavaScript library that lets you connect various gaming controllers to your browser using the Gamepad API.", "module": "./dist/joypad-ts.js", "main": "./dist/joypad-ts.umd.cjs", "exports": { ".": { "import": "./dist/joypad-ts.js", "require": "./dist/joypad-ts.umd.cjs" } }, "types": "./dist/joypad-ts.d.ts", "type": "module", "scripts": { "dev": "vite", "build": "tsc && vite build", "test": "vitest", "preview": "vite preview" }, "jest": { "testMatch": [ "**/tests/**/*.js?(x)", "**/?(*.)+(spec|test).js?(x)" ] }, "files": [ "dist", "LICENSE", "package.json", "README.md" ], "repository": { "type": "git", "url": "git+https://github.com/FlySkyPie/joypad-ts.git" }, "keywords": [ "gaming", "api", "joypad", "js api", "gamepad", "html5 api" ], "contributors": [ { "name": "Arun Michael Dsouza", "email": "amdsouza92@gmail.com" }, { "name": "KusStar", "url": "https://github.com/KusStar" }, { "name": "Wei Ji", "url": "https://flyskypie.github.io/" } ], "license": "MIT", "bugs": { "url": "https://github.com/FlySkyPie/joypad-ts/issues" }, "homepage": "https://github.com/FlySkyPie/joypad-ts#readme", "devDependencies": { "@types/node": "^20.5.0", "jsdom": "^22.1.0", "typescript": "^5.1.3", "vite": "^4.4.5", "vite-plugin-dts": "^3.5.2", "vitest": "^0.34.2" } }