Skip to content

Build your personal knowledge base with Trilium Notes

Added readme and package.json.

Marek Lewandowskif2eb9883196e
diff --git a/README.md b/README.md
new file mode 100644
index 0000000000..1bc77aa4f2
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# CKEditor 5 keyboard marker
+
+This plugin adds support for the keyboard input element (`<kbd>`) to CKEditor 5.
diff --git a/package.json b/package.json
new file mode 100644
index 0000000000..f0a3c03ae3
--- /dev/null
+++ b/package.json
@@ -0,0 +1,55 @@
+{
+ "name": "@mlewand/ckeditor5-keyboard-marker",
+ "version": "1.0.0",
+ "description": "Highilght feature for CKEditor 5.",
+ "keywords": [
+ "ckeditor",
+ "ckeditor5",
+ "ckeditor 5"
+ ],
+ "dependencies": {
+ "@ckeditor/ckeditor5-core": "^18.0.0",
+ "@ckeditor/ckeditor5-ui": "^18.0.0",
+ "@ckeditor/ckeditor5-basic-styles": "^18.0.0"
+ },
+ "devDependencies": {
+ "eslint": "^5.5.0",
+ "eslint-config-ckeditor5": "^2.0.0",
+ "husky": "^1.3.1",
+ "lint-staged": "^7.0.0",
+ "stylelint": "^11.1.1",
+ "stylelint-config-ckeditor5": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=10.0.0",
+ "npm": ">=5.7.1"
+ },
+ "author": "Marek Lewandowski",
+ "license": "GPL-3.0",
+ "homepage": "https://github.com/mlewand/ckeditor5-keyboard-marker",
+ "bugs": "https://github.com/mlewand/ckeditor5-keyboard-marker/issues",
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mlewand/ckeditor5-keyboard-marker.git"
+ },
+ "files": [
+ "src"
+ ],
+ "scripts": {
+ "lint": "eslint --quiet '**/*.js'",
+ "stylelint": "stylelint --quiet --allow-empty-input 'theme/**/*.css' 'docs/**/*.css'"
+ },
+ "lint-staged": {
+ "**/*.js": [
+ "eslint --quiet"
+ ],
+ "**/*.css": [
+ "stylelint --quiet --allow-empty-input"
+ ]
+ },
+ "husky": {
+ "hooks": {
+ "pre-commit": "lint-staged"
+ }
+ }
+}