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

87 lines
2.4 KiB
JSON

{
"name": "hotkeys-js",
"description": "A simple micro-library for defining and dispatching keyboard shortcuts. It has no dependencies.",
"version": "3.6.9",
"main": "index.js",
"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": "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"
},
"files": [
"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.4.4",
"@babel/plugin-external-helpers": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-react": "^7.0.0",
"autoprefixer": "^8.6.1",
"babel-eslint": "^8.2.3",
"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": "^24.7.1",
"less": "^3.0.4",
"parcel-bundler": "^1.12.3",
"parcel-plugin-markdown-string": "^1.3.5",
"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": "^1.11.0",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-commonjs": "^9.3.4",
"rollup-plugin-node-resolve": "^4.2.3",
"uglify-js": "^3.4.0",
"zlib": "^1.0.5"
}
}