{ "name": "zotero-better-notes", "version": "2.2.5", "description": "Everything about note management. All in Zotero.", "config": { "addonName": "Better Notes for Zotero", "addonID": "Knowledge4Zotero@windingwind.com", "addonRef": "BetterNotes", "prefsPrefix": "extensions.zotero.Knowledge4Zotero", "addonInstance": "BetterNotes", "dataSchemaVersion": "8" }, "main": "src/index.ts", "scripts": { "start": "zotero-plugin serve", "build": "tsc --noEmit && zotero-plugin build", "build-dev": "tsc --noEmit && zotero-plugin build --dev && cd build/addon && zip -r ../zotero-better-notes-dev.xpi .", "release": "zotero-plugin release", "lint": "prettier --write . && eslint . --ext .ts --fix", "test": "zotero-plugin test --abort-on-fail --exit-on-finish", "test-dev": "zotero-plugin test --abort-on-fail", "update-deps": "npm update --save" }, "repository": { "type": "git", "url": "git+https://github.com/windingwind/zotero-better-notes.git" }, "author": "windingwind", "license": "AGPL-3.0-or-later", "bugs": { "url": "https://github.com/windingwind/zotero-better-notes/issues" }, "homepage": "https://github.com/windingwind/zotero-better-notes#readme", "dependencies": { "asciidoctor": "^3.0.4", "dexie": "^4.0.11", "diff": "^5.2.0", "hast-util-to-html": "^9.0.4", "hast-util-to-mdast": "^8.4.1", "hast-util-to-text": "^4.0.2", "hastscript": "^8.0.0", "html-docx-js": "^0.3.1", "html-docx-js-typescript": "^0.1.5", "katex": "^0.16.21", "path-browserify": "^1.0.1", "rehype-format": "^4.0.1", "rehype-parse": "^8.0.5", "rehype-remark": "^9.1.2", "rehype-stringify": "^9.0.4", "remark-gfm": "^3.0.1", "remark-math": "^5.1.1", "remark-parse": "^10.0.2", "remark-rehype": "^10.1.0", "remark-stringify": "^10.0.3", "seedrandom": "^3.0.5", "tree-model": "^1.0.7", "unified": "^10.1.2", "unist-util-visit": "^5.0.0", "unist-util-visit-parents": "^6.0.1", "yamljs": "^0.3.0", "zotero-plugin-toolkit": "^4.1.1" }, "devDependencies": { "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@prettier/plugin-xml": "^3.4.1", "@types/browser-or-node": "^1.3.2", "@types/chai": "^5.0.1", "@types/diff": "^5.2.3", "@types/html-docx-js": "^0.3.4", "@types/katex": "^0.16.7", "@types/mocha": "^10.0.10", "@types/node": "^20.17.14", "@types/path-browserify": "^1.0.3", "@types/seedrandom": "^3.0.8", "@types/yamljs": "^0.2.34", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "chokidar-cli": "^3.0.0", "concurrently": "^8.2.2", "cross-env": "^7.0.3", "eslint": "^8.57.1", "eslint-config-prettier": "^9.1.0", "prettier": "^3.4.2", "prosemirror-model": "^1.24.1", "prosemirror-state": "^1.4.3", "prosemirror-transform": "^1.10.2", "prosemirror-view": "^1.37.1", "replace-in-file": "^7.2.0", "typescript": "^5.7.3", "xslt3": "^2.7.0", "zotero-plugin-scaffold": "^0.2.0-beta.20", "zotero-types": "^3.1.6" }, "eslintConfig": { "env": { "browser": true, "es2021": true }, "root": true, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier" ], "overrides": [], "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": "latest", "sourceType": "module" }, "plugins": [ "@typescript-eslint" ], "rules": { "@typescript-eslint/ban-ts-comment": [ "warn", { "ts-expect-error": "allow-with-description", "ts-ignore": "allow-with-description", "ts-nocheck": "allow-with-description", "ts-check": "allow-with-description" } ], "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-explicit-any": [ "off", { "ignoreRestArgs": true } ], "@typescript-eslint/no-non-null-assertion": "off" }, "ignorePatterns": [ "**/build/**", "**/logs/**", "**/dist/**", "**/node_modules/**", "**/scripts/**", "**/*.js", "**/*.bak" ] }, "prettier": { "printWidth": 80, "tabWidth": 2, "endOfLine": "lf", "overrides": [ { "files": [ "*.xhtml" ], "options": { "htmlWhitespaceSensitivity": "css" } } ] }, "release-it": { "git": { "tagName": "v${version}" }, "npm": { "publish": false }, "github": { "release": false, "assets": [ "build/*.xpi" ] }, "hooks": { "before:init": "npm run lint", "after:bump": "npm run build", "after:release": "echo Successfully released ${name} v${version} to ${repo.repository}." } } }