UNPKG

key-controller

Version:

A library that abstracts handling keyboard controls in the browser

61 lines (60 loc) 1.54 kB
{ "name": "key-controller", "version": "2.0.7", "main": "index.js", "description": "A library that abstracts handling keyboard controls in the browser", "keywords": [ "keyboard", "key", "controls", "browser", "game", "HTML5", "event", "addEventListener", "KeyboardEvent" ], "repository": "git@github.com:ScottyFillups/key-controller.git", "author": "Philip Scott <pscott@zeptohost.com>", "license": "MIT", "scripts": { "fix": "standard --fix", "lint": "standard", "test": "standard && nyc ava", "build": "parcel build --global KeyController --out-dir umd --out-file key-controller.min.js index.js", "coverage": "nyc report --reporter=text-lcov | coveralls", "demo": "parcel ./demo/index.html --open", "semantic-release": "semantic-release", "travis-deploy-once": "travis-deploy-once" }, "ava": { "files": [ "test/**/*.js", "!test/helpers/**/*.js" ], "sources": [ "lib/**/*.js" ], "require": [ "babel-register", "./test/helpers/setup-browser-env.js" ] }, "babel": { "plugins": [ "transform-es2015-modules-commonjs" ] }, "devDependencies": { "ava": "^1.0.0-rc.1", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", "babel-register": "^6.26.0", "browser-env": "^3.2.5", "coveralls": "^3.0.2", "nyc": "^14.1.1", "parcel-bundler": "^1.9.6", "semantic-release": "^15.8.1", "standard": "^11.0.1", "travis-deploy-once": "^5.0.1" } }