UNPKG

joymap

Version:

A Gamepad API wrapper and mapping tool.

128 lines (127 loc) 3.94 kB
{ "name": "joymap", "version": "2.2.4", "description": "A Gamepad API wrapper and mapping tool.", "main": "./bin/src/index.js", "types": "./bin/src/index.d.ts", "files": [ "bin", "src" ], "scripts": { "dev": "webpack-dev-server --hot", "format": "prettier \"**/*.{js,jsx,json,tsx,ts}\" --write", "lint": "eslint --ignore-path .prettierignore \"**/*.{js,jsx,ts,tsx}\"", "tslint": "tsc -p tsconfig.json", "build": "yarn clean && yarn build-lib & yarn build-min && yarn build-docs", "clean": "del-cli -f docs/* && del-cli -f bin/*", "build-lib": "npx babel src -s -d bin/src -x .ts", "build-min": "webpack -p --config webpack.prod.babel.js", "build-docs": "webpack -p --env.mode=docs" }, "husky": { "hooks": { "pre-commit": "yarn tslint && yarn build && git add --all && lint-staged" } }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "yarn format", "yarn lint" ] }, "author": { "name": "Diego Doumecq", "email": "licenciado.diego@gmail.com" }, "tags": [ "gamepad", "joystick" ], "keywords": [ "gamepad", "joystick" ], "homepage": "https://github.com/diegodoumecq/joymap", "repository": { "type": "git", "url": "https://github.com/diegodoumecq/joymap" }, "license": "MIT", "dependencies": { "@babel/runtime": "^7.9.2", "fast-memoize": "^2.5.2", "lodash": "^4.17.15" }, "devDependencies": { "@babel/cli": "^7.8.4", "@babel/core": "^7.9.0", "@babel/plugin-transform-runtime": "^7.9.0", "@babel/preset-env": "^7.9.0", "@babel/preset-react": "^7.9.4", "@babel/preset-typescript": "^7.9.0", "@babel/register": "^7.9.0", "@ckeditor/ckeditor5-build-classic": "^18.0.0", "@ckeditor/ckeditor5-react": "^2.1.0", "@material-ui/core": "^4.9.11", "@types/autoprefixer": "^9.7.2", "@types/color-hash": "^1.0.0", "@types/copy-webpack-plugin": "^5.0.0", "@types/lodash": "^4.14.149", "@types/marked": "^0.7.4", "@types/node": "^13.11.0", "@types/react": "^16.9.32", "@types/react-dom": "^16.9.6", "@types/styled-components": "^5.0.1", "@types/tinycolor2": "^1.4.2", "@types/webpack-env": "^1.15.1", "@typescript-eslint/eslint-plugin": "^2.26.0", "@typescript-eslint/parser": "^2.26.0", "autoprefixer": "^9.7.5", "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0", "babel-plugin-lodash": "^3.3.4", "babel-plugin-styled-components": "^1.10.7", "clean-webpack-plugin": "^3.0.0", "codesandbox": "^2.1.14", "color-hash": "^1.0.3", "copy-webpack-plugin": "^5.1.1", "css-loader": "^3.4.2", "del-cli": "^3.0.0", "eslint": "^6.8.0", "eslint-config-airbnb-base": "^14.1.0", "eslint-config-prettier": "^6.10.1", "eslint-plugin-import": "^2.20.2", "eslint-plugin-prettier": "^3.1.2", "eslint-plugin-react": "^7.19.0", "file-loader": "^6.0.0", "husky": "^4.2.3", "lint-staged": "^10.1.1", "lorem-ipsum": "^2.0.3", "marked": "^1.0.0", "playcanvas": "^1.27.0", "postcss-loader": "^3.0.0", "prettier": "^2.0.2", "raw-loader": "^4.0.1", "react": "^16.13.1", "react-dom": "^16.13.1", "react-iframe": "^1.8.0", "react-web-vector-icons": "^1.0.2", "regenerator-runtime": "^0.13.5", "rxjs": "^6.5.5", "style-loader": "^1.1.3", "styled-components": "^5.0.1", "stylus": "^0.54.7", "stylus-loader": "^3.0.2", "tinycolor2": "^1.4.1", "ts-loader": "^6.2.2", "typescript": "^3.8.3", "typescript-plugin-styled-components": "^1.4.4", "uglifyjs-webpack-plugin": "^2.2.0", "url-loader": "^4.0.0", "webpack": "^4.42.1", "webpack-cli": "^3.3.11", "webpack-dev-server": "^3.10.3", "write-file-webpack-plugin": "^4.5.1" } }