|
|
@ -6,7 +6,7 @@
|
|
|
|
"types": "index.d.ts",
|
|
|
|
"types": "index.d.ts",
|
|
|
|
"module": "dist/hotkeys.esm.js",
|
|
|
|
"module": "dist/hotkeys.esm.js",
|
|
|
|
"scripts": {
|
|
|
|
"scripts": {
|
|
|
|
"prepare": "npm run build:lib",
|
|
|
|
"prepare": "npm run build:lib && husky install",
|
|
|
|
"lint": "eslint --ext .js src website",
|
|
|
|
"lint": "eslint --ext .js src website",
|
|
|
|
"build:lib": "node scripts/build.js",
|
|
|
|
"build:lib": "node scripts/build.js",
|
|
|
|
"build": "npm run build:lib && npm run doc && npm run lint",
|
|
|
|
"build": "npm run build:lib && npm run doc && npm run lint",
|
|
|
@ -22,11 +22,6 @@
|
|
|
|
"dist",
|
|
|
|
"dist",
|
|
|
|
"doc"
|
|
|
|
"doc"
|
|
|
|
],
|
|
|
|
],
|
|
|
|
"husky": {
|
|
|
|
|
|
|
|
"hooks": {
|
|
|
|
|
|
|
|
"pre-commit": "npm run lint"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"keywords": [
|
|
|
|
"keywords": [
|
|
|
|
"hotkey",
|
|
|
|
"hotkey",
|
|
|
|
"hotkeys",
|
|
|
|
"hotkeys",
|
|
|
@ -48,17 +43,22 @@
|
|
|
|
"jest": {
|
|
|
|
"jest": {
|
|
|
|
"testURL": "http://localhost/"
|
|
|
|
"testURL": "http://localhost/"
|
|
|
|
},
|
|
|
|
},
|
|
|
|
"dependencies": {},
|
|
|
|
"dependencies": {
|
|
|
|
|
|
|
|
"typescript": "^4.6.3"
|
|
|
|
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"devDependencies": {
|
|
|
|
"@babel/eslint-parser": "~7.17.0",
|
|
|
|
"@babel/eslint-parser": "~7.17.0",
|
|
|
|
"@kkt/less-modules": "~7.1.1",
|
|
|
|
"@kkt/less-modules": "~7.1.2",
|
|
|
|
"@kkt/raw-modules": "~7.1.1",
|
|
|
|
"@kkt/raw-modules": "~7.1.2",
|
|
|
|
"@kkt/scope-plugin-options": "~7.1.1",
|
|
|
|
"@kkt/scope-plugin-options": "~7.1.2",
|
|
|
|
|
|
|
|
"@rollup/plugin-babel": "~5.3.1",
|
|
|
|
|
|
|
|
"@rollup/plugin-commonjs": "~21.0.3",
|
|
|
|
|
|
|
|
"@rollup/plugin-node-resolve": "~13.1.3",
|
|
|
|
"@uiw/react-github-corners": "~1.5.14",
|
|
|
|
"@uiw/react-github-corners": "~1.5.14",
|
|
|
|
"@uiw/react-mac-keyboard": "~1.1.4",
|
|
|
|
"@uiw/react-mac-keyboard": "~1.1.4",
|
|
|
|
"@uiw/react-markdown-preview": "~4.0.5",
|
|
|
|
"@uiw/react-markdown-preview": "~4.0.5",
|
|
|
|
"@uiw/react-shields": "~1.1.2",
|
|
|
|
"@uiw/react-shields": "~1.1.2",
|
|
|
|
"@uiw/reset.css": "~1.0.6",
|
|
|
|
"@wcj/dark-mode": "~1.0.14",
|
|
|
|
"bannerjs": "~2.1.0",
|
|
|
|
"bannerjs": "~2.1.0",
|
|
|
|
"classnames": "~2.3.1",
|
|
|
|
"classnames": "~2.3.1",
|
|
|
|
"colors-cli": "~1.0.28",
|
|
|
|
"colors-cli": "~1.0.28",
|
|
|
@ -67,17 +67,15 @@
|
|
|
|
"eslint-plugin-import": "~2.26.0",
|
|
|
|
"eslint-plugin-import": "~2.26.0",
|
|
|
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
|
|
|
"eslint-plugin-jsx-a11y": "~6.5.1",
|
|
|
|
"eslint-plugin-react": "~7.29.4",
|
|
|
|
"eslint-plugin-react": "~7.29.4",
|
|
|
|
"husky": "~4.2.3",
|
|
|
|
"husky": "^7.0.0",
|
|
|
|
"kkt": "~7.1.5",
|
|
|
|
|
|
|
|
"jest": "~27.5.1",
|
|
|
|
"jest": "~27.5.1",
|
|
|
|
|
|
|
|
"kkt": "~7.1.6",
|
|
|
|
|
|
|
|
"lint-staged": "^12.3.7",
|
|
|
|
"puppeteer": "~13.5.2",
|
|
|
|
"puppeteer": "~13.5.2",
|
|
|
|
"react": "~17.0.2",
|
|
|
|
"react": "~18.0.0",
|
|
|
|
"react-dom": "~17.0.2",
|
|
|
|
"react-dom": "~18.0.0",
|
|
|
|
"rimraf": "~3.0.2",
|
|
|
|
"rimraf": "~3.0.2",
|
|
|
|
"rollup": "~2.70.1",
|
|
|
|
"rollup": "~2.70.1",
|
|
|
|
"@rollup/plugin-babel": "~5.3.1",
|
|
|
|
|
|
|
|
"@rollup/plugin-commonjs": "~21.0.3",
|
|
|
|
|
|
|
|
"@rollup/plugin-node-resolve": "~13.1.3",
|
|
|
|
|
|
|
|
"uglify-js": "~3.15.3",
|
|
|
|
"uglify-js": "~3.15.3",
|
|
|
|
"zlib": "~1.0.5"
|
|
|
|
"zlib": "~1.0.5"
|
|
|
|
},
|
|
|
|
},
|
|
|
@ -92,5 +90,8 @@
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 firefox version",
|
|
|
|
"last 1 safari version"
|
|
|
|
"last 1 safari version"
|
|
|
|
]
|
|
|
|
]
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
"lint-staged": {
|
|
|
|
|
|
|
|
"*.js": "eslint --ext .js src website"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|