|
2 | 2 | "name": "zotero-plugin-scaffold", |
3 | 3 | "type": "module", |
4 | 4 | "version": "0.6.0", |
5 | | - "private": true, |
6 | 5 | "packageManager": "[email protected]", |
| 6 | + "description": "A scaffold for Zotero plugin development.", |
7 | 7 | "author": "northword", |
| 8 | + "license": "AGPL-3.0-or-later", |
| 9 | + "homepage": "https://github.com/northword/zotero-plugin-scaffold#readme", |
| 10 | + "repository": { |
| 11 | + "type": "git", |
| 12 | + "url": "https://github.com/northword/zotero-plugin-scaffold.git" |
| 13 | + }, |
| 14 | + "bugs": { |
| 15 | + "url": "https://github.com/northword/zotero-plugin-scaffold/issues" |
| 16 | + }, |
| 17 | + "keywords": [ |
| 18 | + "zotero", |
| 19 | + "plugin", |
| 20 | + "developer", |
| 21 | + "scaffold", |
| 22 | + "web-ext" |
| 23 | + ], |
| 24 | + "exports": { |
| 25 | + ".": { |
| 26 | + "types": "./dist/index.d.mts", |
| 27 | + "import": "./dist/index.mjs" |
| 28 | + }, |
| 29 | + "./cli": { |
| 30 | + "import": "./dist/cli.mjs" |
| 31 | + }, |
| 32 | + "./vendor": { |
| 33 | + "types": "./dist/vendor/index.d.mts", |
| 34 | + "import": "./dist/vendor/index.mjs" |
| 35 | + } |
| 36 | + }, |
| 37 | + "main": "./dist/index.mjs", |
| 38 | + "module": "./dist/index.mjs", |
| 39 | + "types": "./dist/index.d.mts", |
| 40 | + "bin": { |
| 41 | + "zotero-plugin": "./bin/zotero-plugin.mjs" |
| 42 | + }, |
| 43 | + "files": [ |
| 44 | + "bin", |
| 45 | + "dist" |
| 46 | + ], |
| 47 | + "engines": { |
| 48 | + "node": ">=22.8.0" |
| 49 | + }, |
8 | 50 | "scripts": { |
9 | | - "dev": "pnpm -r --filter=./packages/* --parallel run dev", |
10 | | - "build": "pnpm -r --filter=./packages/* --parallel run build", |
| 51 | + "dev": "unbuild --stub", |
| 52 | + "build": "tsc --noEmit && unbuild", |
11 | 53 | "lint:check": "eslint .", |
12 | 54 | "lint:fix": "eslint . --fix", |
13 | 55 | "docs:dev": "pnpm -C docs run dev", |
|
17 | 59 | "test": "vitest", |
18 | 60 | "prepare": "husky" |
19 | 61 | }, |
| 62 | + "publishConfig": { |
| 63 | + "access": "public", |
| 64 | + "registry": "https://registry.npmjs.org" |
| 65 | + }, |
| 66 | + "directories": { |
| 67 | + "lib": "dist" |
| 68 | + }, |
| 69 | + "peerDependencies": { |
| 70 | + "conventional-changelog": "^6.0.0" |
| 71 | + }, |
| 72 | + "peerDependenciesMeta": { |
| 73 | + "conventional-changelog": { |
| 74 | + "optional": true |
| 75 | + } |
| 76 | + }, |
| 77 | + "dependencies": { |
| 78 | + "@fluent/syntax": "^0.19.0", |
| 79 | + "@swc/core": "^1.12.0", |
| 80 | + "adm-zip": "^0.5.16", |
| 81 | + "bumpp": "^10.1.1", |
| 82 | + "c12": "^3.0.4", |
| 83 | + "chokidar": "^4.0.3", |
| 84 | + "commander": "^14.0.0", |
| 85 | + "es-toolkit": "^1.39.3", |
| 86 | + "esbuild": "^0.25.5", |
| 87 | + "fs-extra": "^11.3.0", |
| 88 | + "hookable": "^5.5.3", |
| 89 | + "octokit": "^5.0.3", |
| 90 | + "std-env": "^3.9.0", |
| 91 | + "tiny-update-notifier": "^2.0.2", |
| 92 | + "tinyglobby": "^0.2.14", |
| 93 | + "xvfb-ts": "^1.1.0" |
| 94 | + }, |
20 | 95 | "devDependencies": { |
21 | 96 | "@antfu/eslint-config": "^4.14.1", |
| 97 | + "@commander-js/extra-typings": "^14.0.0", |
| 98 | + "@types/adm-zip": "^0.5.7", |
| 99 | + "@types/fs-extra": "^11.0.4", |
22 | 100 | "@types/node": "^22.15.31", |
23 | 101 | "bumpp": "^10.1.1", |
24 | 102 | "eslint": "^9.28.0", |
25 | 103 | "eslint-plugin-format": "^1.0.1", |
26 | 104 | "husky": "^9.1.7", |
27 | 105 | "lint-staged": "^16.1.0", |
| 106 | + "node-style-text": "^0.0.8", |
28 | 107 | "tsx": "^4.20.1", |
29 | 108 | "typescript": "^5.8.3", |
30 | 109 | "unbuild": "^3.5.0", |
31 | 110 | "vitest": "^3.2.3" |
32 | 111 | }, |
33 | 112 | "workspaces": [ |
34 | | - "packages/*", |
| 113 | + "src", |
35 | 114 | "docs" |
36 | 115 | ], |
37 | | - "pnpm": { |
38 | | - "overrides": { |
39 | | - "@types/eslint": "npm:eslint@^9.28.0" |
40 | | - } |
41 | | - }, |
42 | 116 | "lint-staged": { |
43 | 117 | "*": "eslint --fix" |
44 | 118 | } |
|
0 commit comments