gamepad-plus
Version:
a superb library that extends the Gamepad API with super powers
40 lines (39 loc) • 1.28 kB
JSON
{
"name": "gamepad-plus",
"version": "1.0.14",
"description": "a superb library that extends the Gamepad API with super powers",
"main": "dist/gamepads.js",
"repository": {
"type": "git",
"url": "https://github.com/cvan/gamepad-plus.git"
},
"keywords": [
"gamepad",
"gamepads",
"button",
"buttons",
"axis",
"axes"
],
"author": "Chris Van",
"license": "MIT",
"bugs": {
"url": "https://github.com/cvan/gamepad-plus/issues"
},
"homepage": "https://github.com/cvan/gamepad-plus",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "npm run dev",
"prod": "export NODE_ENVIRONMENT='production' && npm run build",
"dev": "export NODE_ENVIRONMENT='development' && npm run build && npm run watch",
"build": "if [[ $NODE_ENVIRONMENT == 'production' ]]; then echo export SOURCE_MAPS=0; else export SOURCE_MAPS=1; fi ; echo $SOURCE_MAPS && mkdir -p dist && browserify src/index.js --standalone Gamepads --debug=$SOURCE_MAPS -t babelify -o dist/gamepads.js",
"watch": "onchange src/{*,**/*}.js -- npm run build",
"release": "release-it"
},
"devDependencies": {
"babelify": "^6.1.0",
"browserify": "^10.1.3",
"onchange": "^1.1.0",
"release-it": "0.0.15"
}
}