64 lines
2.4 KiB
JSON
64 lines
2.4 KiB
JSON
{
|
|
"name": "zotero-addon-template",
|
|
"version": "1.0.0",
|
|
"description": "Zotero Addon Template",
|
|
"config": {
|
|
"addonName": "Zotero Addon Template",
|
|
"addonID": "addontemplate@euclpts.com",
|
|
"addonRef": "addontemplate",
|
|
"addonInstance": "AddonTemplate",
|
|
"prefsPrefix": "extensions.zotero.addontemplate",
|
|
"releasepage": "https://github.com/windingwind/zotero-addon-template/releases/latest/download/zotero-addon-template.xpi",
|
|
"updaterdf": "https://raw.githubusercontent.com/windingwind/zotero-addon-template/main/update.json"
|
|
},
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"build-dev": "cross-env NODE_ENV=development node scripts/build.mjs",
|
|
"build-prod": "cross-env NODE_ENV=production node scripts/build.mjs",
|
|
"build": "concurrently -c auto npm:build-prod npm:tsc",
|
|
"tsc": "tsc --noEmit",
|
|
"start": "node scripts/start.mjs",
|
|
"start-watch": "npm run build-dev && concurrently -c auto npm:start npm:watch",
|
|
"stop": "node scripts/stop.mjs",
|
|
"restart-dev": "npm run build-dev && npm run stop && npm run start",
|
|
"restart-prod": "npm run build-prod && npm run stop && npm run start",
|
|
"restart": "npm run restart-dev",
|
|
"reload": "npm run build-dev && node scripts/reload.mjs",
|
|
"watch": "chokidar \"src/**\" \"addon/**\" -c \"npm run reload\"",
|
|
"release": "release-it",
|
|
"lint": "prettier --write . && eslint . --ext .ts --fix",
|
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
"update-deps": "npm update --save"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/windingwind/zotero-addon-template.git"
|
|
},
|
|
"author": "windingwind",
|
|
"license": "AGPL-3.0-or-later",
|
|
"bugs": {
|
|
"url": "https://github.com/windingwind/zotero-addon-template/issues"
|
|
},
|
|
"homepage": "https://github.com/windingwind/zotero-addon-template#readme",
|
|
"dependencies": {
|
|
"zotero-plugin-toolkit": "^2.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.4.2",
|
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
|
"@typescript-eslint/parser": "^6.0.0",
|
|
"chokidar-cli": "^3.0.0",
|
|
"compressing": "^1.9.0",
|
|
"concurrently": "^8.2.0",
|
|
"cross-env": "^7.0.3",
|
|
"esbuild": "^0.18.12",
|
|
"eslint": "^8.44.0",
|
|
"eslint-config-prettier": "^8.8.0",
|
|
"prettier": "^3.0.0",
|
|
"release-it": "^16.1.0",
|
|
"replace-in-file": "^7.0.1",
|
|
"typescript": "^5.1.6",
|
|
"zotero-types": "^1.0.16"
|
|
}
|
|
}
|