joy-con-webhid
Version:
Joy-Con over WebHID
60 lines (59 loc) • 1.52 kB
JSON
{
"name": "joy-con-webhid",
"version": "0.11.0",
"description": "Joy-Con over WebHID ",
"type": "module",
"keywords": [
"joycon",
"webhid",
"gamepad",
"controller"
],
"scripts": {
"server": "shx cp dist/joy-con-webhid.es.js demo; npx http-server demo",
"start": "npx http-server",
"lint": "npx eslint . --ext .ts,.js,.mjs --fix",
"prepare": "npm run lint && npm run fix && npm run build",
"fix": "npx prettier --write .",
"build": "npx tsc && npx vite build",
"prepublishOnly": "npm run build"
},
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/joy-con-webhid.es.js",
"types": "./dist/index.d.ts"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/tomayac/joy-con-webhid.git"
},
"files": [
"dist"
],
"author": "Thomas Steiner (tomac@google.com)",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/tomayac/joy-con-webhid/issues"
},
"homepage": "https://github.com/tomayac/joy-con-webhid#readme",
"devDependencies": {
"@eslint/js": "^9.31.0",
"@types/node": "^24.0.14",
"@types/w3c-web-hid": "^1.0.6",
"eslint": "^9.31.0",
"eslint-config-prettier": "^10.1.5",
"globals": "^16.3.0",
"http-server": "^14.1.1",
"prettier": "^3.6.2",
"shx": "^0.4.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.37.0",
"vite": "^7.0.5",
"vite-plugin-dts": "^4.5.4"
},
"dependencies": {
"ahrs": "^1.3.3"
}
}