You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hotkeys/package.json

43 lines
1.3 KiB
JSON

{
"name": "hotkeys-js",
"version": "2.0.8",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"author": "kenny wang <wowohoo@qq.com>",
"main": "dist/hotkeys.min.js",
"scripts": {
"build:test": "browserify test/hotkeys.js | uglifyjs --compress --mangle > test/hotkeys.test.js",
"build:min": "umd hotkeys src/hotkeys.js | uglifyjs -mc | bannerjs -o > dist/hotkeys.min.js",
"build:dist": "umd hotkeys src/hotkeys.js | bannerjs -m | uglifyjs -b beautify=true --comments 'all' > dist/hotkeys.js ",
"build": "npm run build:min && npm run build:dist",
"test": "npm run build:test && ssr",
"watch": "onchange 'src/hotkeys.js' -v -- npm run build "
},
"keywords": [
"hotkey",
"hotkeys",
"hotkeys-js",
"hotkeysjs",
"key",
"keys",
"keyboard",
"shortcuts",
"keypress"
],
"repository": {
"type": "git",
"url": "https://github.com/jaywcjlove/hotkeys.git"
},
"devDependencies": {
"bannerjs": "^1.0.5",
"browserify": "^14.4.0",
"jsdom": "^11.1.0",
"onchange": "^3.2.1",
"ssr": "^1.1.1",
"tape": "^4.8.0",
"tape-dom": "0.0.12",
"uglify-js": "^3.0.27",
"umd": "^3.0.1"
},
"license": "MIT",
"dependencies": {}
}