UNPKG

keydown-key

Version:

An utility to normalize the KeyboardEvent.key especially during IME

60 lines (59 loc) 1.7 kB
{ "name": "keydown-key", "version": "1.4.4", "description": "An utility to normalize the KeyboardEvent.key especially during IME", "keywords": [ "KeyboardEvent", "IME", "key normalize", "cross browser", "cross platform", "Mac", "Chrome", "Vanilla JS", "React JS" ], "main": "lib/index.js", "types": "lib/index.d.ts", "files": [ "lib" ], "scripts": { "prepublish": "yarn run eslint && yarn run test && yarn run build && yarn run clean:post", "build": "webpack", "clean:post": "rm -f lib/*.test.d.ts*", "eslint": "eslint --max-warnings 0 --ext .js,.ts src", "test": "jest --coverage" }, "repository": { "type": "git", "url": "git@github.com:seawind543/keydown-key.git" }, "author": "Mark Lin <marklin1106@gmail.com>", "homepage": "https://github.com/seawind543/keydown-key", "license": "MIT", "devDependencies": { "@babel/core": "^7.25.7", "@babel/eslint-parser": "^7.25.7", "@babel/eslint-plugin": "^7.25.7", "@babel/preset-env": "^7.25.7", "@babel/preset-typescript": "^7.25.7", "@types/jest": "^29.5.13", "@typescript-eslint/eslint-plugin": "^7.17.0", "@typescript-eslint/parser": "^7.17.0", "babel-loader": "^9.2.1", "eslint": "^8.56.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^18.0.0", "eslint-config-prettier": "^10.0.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.1", "eslint-webpack-plugin": "^4.2.0", "jest": "^29.7.0", "prettier": "^3.3.3", "ts-loader": "^9.5.1", "typescript": "^5.6.2", "webpack": "^5.95.0", "webpack-cli": "^6.0.1" } }