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.
91 lines
2.5 KiB
JSON
91 lines
2.5 KiB
JSON
{
|
|
"name": "hotkeys-js",
|
|
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
|
|
"version": "3.7.4",
|
|
"main": "index.js",
|
|
"types": "index.d.ts",
|
|
"module": "dist/hotkeys.esm.js",
|
|
"scripts": {
|
|
"lint": "eslint --ext .js src website",
|
|
"deploy": "node scripts/build.js && npm run doc:build && gh-pages -d doc",
|
|
"build": "node scripts/build.js && npm run doc:build",
|
|
"watch": "node scripts/watch.js",
|
|
"pretest": "npm run build",
|
|
"test": "jest --coverage",
|
|
"test:watch": "jest --watch",
|
|
"doc": "npm run doc:dev",
|
|
"doc:dev": "cross-env NODE_ENV=development parcel website/index.html --out-dir doc --no-cache",
|
|
"doc:build": "rimraf doc && cross-env NODE_ENV=production parcel build website/index.html --out-dir doc --public-url ./ --no-cache --no-source-maps"
|
|
},
|
|
"files": [
|
|
"index.d.ts",
|
|
"dist",
|
|
"doc"
|
|
],
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run lint"
|
|
}
|
|
},
|
|
"keywords": [
|
|
"hotkey",
|
|
"hotkeys",
|
|
"hotkeys-js",
|
|
"hotkeysjs",
|
|
"key",
|
|
"keys",
|
|
"keyboard",
|
|
"shortcuts",
|
|
"keypress"
|
|
],
|
|
"author": "kenny wong <wowohoo@qq.com>",
|
|
"license": "MIT",
|
|
"homepage": "http://jaywcjlove.github.io/hotkeys",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/jaywcjlove/hotkeys.git"
|
|
},
|
|
"jest": {
|
|
"testURL": "http://localhost/"
|
|
},
|
|
"dependencies": {},
|
|
"devDependencies": {
|
|
"@babel/core": "7.9.0",
|
|
"@babel/plugin-external-helpers": "7.8.3",
|
|
"@babel/plugin-transform-runtime": "7.9.0",
|
|
"@babel/preset-env": "7.9.0",
|
|
"@babel/preset-react": "7.9.4",
|
|
"@uiw/react-github-corners": "1.1.3",
|
|
"autoprefixer": "9.7.5",
|
|
"babel-eslint": "10.1.0",
|
|
"bannerjs": "1.0.7",
|
|
"classnames": "2.2.6",
|
|
"colors-cli": "1.0.26",
|
|
"cross-env": "7.0.2",
|
|
"eslint": "4.19.1",
|
|
"eslint-config-airbnb": "16.1.0",
|
|
"eslint-plugin-import": "2.20.1",
|
|
"eslint-plugin-jsx-a11y": "6.2.3",
|
|
"eslint-plugin-react": "7.19.0",
|
|
"gh-pages": "1.2.0",
|
|
"highlight.js": "9.18.1",
|
|
"husky": "3.1.0",
|
|
"jest": "24.9.0",
|
|
"less": "3.11.1",
|
|
"parcel-bundler": "1.12.4",
|
|
"parcel-plugin-markdown-string": "1.4.2",
|
|
"postcss-modules": "1.5.0",
|
|
"puppeteer": "1.20.0",
|
|
"react": "16.12.0",
|
|
"react-dom": "16.12.0",
|
|
"react-markdown": "3.6.0",
|
|
"rimraf": "2.7.1",
|
|
"rollup": "1.32.1",
|
|
"rollup-plugin-babel": "4.4.0",
|
|
"rollup-plugin-commonjs": "9.3.4",
|
|
"rollup-plugin-node-resolve": "4.2.4",
|
|
"uglify-js": "3.8.0",
|
|
"zlib": "1.0.5"
|
|
}
|
|
}
|