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.
82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"name": "hotkeys-js",
|
|
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
|
|
"version": "3.6.3",
|
|
"main": "index.js",
|
|
"module": "dist/hotkeys.esm.js",
|
|
"scripts": {
|
|
"lint": "eslint --ext .js src website",
|
|
"deploy": "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": "NODE_ENV=development parcel website/index.html --out-dir doc --no-cache",
|
|
"doc:build": "rimraf doc && NODE_ENV=production parcel build website/index.html --out-dir doc --public-url ./ --no-cache --no-source-maps"
|
|
},
|
|
"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": {
|
|
"autoprefixer": "^8.6.1",
|
|
"babel-core": "^6.26.3",
|
|
"babel-eslint": "^8.2.3",
|
|
"babel-plugin-external-helpers": "^6.22.0",
|
|
"babel-preset-env": "^1.7.0",
|
|
"babel-preset-react": "^6.24.1",
|
|
"bannerjs": "^1.0.5",
|
|
"classnames": "^2.2.5",
|
|
"colors-cli": "^1.0.13",
|
|
"eslint": "^4.19.1",
|
|
"eslint-config-airbnb": "^16.1.0",
|
|
"eslint-plugin-import": "^2.12.0",
|
|
"eslint-plugin-jsx-a11y": "^6.0.3",
|
|
"eslint-plugin-react": "^7.9.1",
|
|
"gh-pages": "^1.2.0",
|
|
"highlight.js": "^9.12.0",
|
|
"husky": "^1.0.0-rc.8",
|
|
"jest": "^22.4.4",
|
|
"less": "^3.0.4",
|
|
"parcel-bundler": "^1.12.3",
|
|
"parcel-plugin-markdown-string": "^1.3.1",
|
|
"postcss-modules": "^1.1.0",
|
|
"puppeteer": "^1.14.0",
|
|
"react": "^16.7.0",
|
|
"react-dom": "^16.7.0",
|
|
"react-markdown": "^3.3.2",
|
|
"rimraf": "^2.6.3",
|
|
"rollup": "^0.57.1",
|
|
"rollup-plugin-babel": "^3.0.4",
|
|
"rollup-plugin-commonjs": "^9.1.3",
|
|
"rollup-plugin-node-resolve": "^3.3.0",
|
|
"uglify-js": "^3.4.0",
|
|
"zlib": "^1.0.5"
|
|
}
|
|
}
|