UNPKG

modern-hotkeys

Version:

<p align="center"> <img src="https://img.shields.io/npm/l/modern-hotkeys"> <img src="https://img.shields.io/npm/dt/modern-hotkeys"> <img src="https://img.shields.io/npm/v/modern-hotkeys"> <img src="https://img.shields.io/github/stars/pato12/modern-hotkeys

61 lines (60 loc) 1.6 kB
{ "name": "modern-hotkeys", "version": "2.1.3", "main": "dist/index.js", "types": "dist/index.d.ts", "license": "MIT", "repository": "git@github.com:pato12/modern-hotkeys.git", "homepage": "https://github.com/pato12/modern-hotkeys", "private": false, "scripts": { "build": "rm -rf dist && rollup src/index.ts -c", "pretest": "rm -rf dist && rollup src/index.ts src/logger.ts src/utils.ts -c rollup.development.config.js", "prepublish": "yarn build", "test": "jest --coverage --detectOpenHandles", "test:watch": "jest --watch", "test:ci": "jest --ci", "prepare": "husky install", "lint": "eslint src" }, "lint-staged": { "{src,test}/*.{js,ts}": [ "prettier --write --ignore-unknown", "eslint" ] }, "np": { "yarn": true, "branch": "main" }, "devDependencies": { "@rollup/plugin-terser": "^0.4.0", "@rollup/plugin-typescript": "^11.0.0", "@types/jest": "^29.2.0", "@types/jest-environment-puppeteer": "^5.0.2", "@typescript-eslint/eslint-plugin": "^5.41.0", "@typescript-eslint/parser": "^5.41.0", "eslint": "^8.26.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.2.1", "husky": "^8.0.1", "jest": "^29.2.2", "jest-environment-jsdom": "^29.2.2", "lint-staged": "^13.0.3", "np": "^7.6.2", "prettier": "2.7.1", "terser": "^5.16.3", "ts-jest": "^29.0.3", "typescript": "^4.8.4" }, "dependencies": {}, "files": [ "dist" ], "keywords": [ "hotkeys", "shortcuts", "key binding", "keymap" ] }