pdf-fetch 0.2.1 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +9 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pdf-fetch",
3
- "version": "0.2.1",
3
+ "version": "1.0.1",
4
4
  "description": "使用 ImageMagick 将 PDF 页面批量导出为 JPG 的命令行工具(CLI 命令:pdf-fetch)",
5
5
  "keywords": [
6
6
  "pdf",
@@ -27,6 +27,13 @@
27
27
  "README.md",
28
28
  "LICENSE"
29
29
  ],
30
+ "scripts": {
31
+ "build": "tsc -p tsconfig.json && node scripts/add-shebang.cjs dist/cli.js",
32
+ "typecheck": "tsc -p tsconfig.json --noEmit",
33
+ "lint": "eslint .",
34
+ "format": "prettier -w .",
35
+ "prepublishOnly": "pnpm run lint && pnpm run typecheck && pnpm run build"
36
+ },
30
37
  "engines": {
31
38
  "node": ">=18"
32
39
  },
@@ -41,11 +48,5 @@
41
48
  "prettier": "^3.5.1",
42
49
  "typescript": "^5.7.3",
43
50
  "typescript-eslint": "^8.24.0"
44
- },
45
- "scripts": {
46
- "build": "tsc -p tsconfig.json && node scripts/add-shebang.cjs dist/cli.js",
47
- "typecheck": "tsc -p tsconfig.json --noEmit",
48
- "lint": "eslint .",
49
- "format": "prettier -w ."
50
51
  }
51
- }
52
+ }