markpdfdown 0.1.6 → 0.1.7-beta.2

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 +13 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markpdfdown",
3
- "version": "0.1.6",
3
+ "version": "0.1.7-beta.2",
4
4
  "description": "A high-quality PDF to Markdown tool based on large language model visual recognition.",
5
5
  "author": "MarkPDFdown",
6
6
  "main": "dist/main/index.js",
@@ -36,7 +36,8 @@
36
36
  "test:renderer": "vitest run --config vitest.config.renderer.ts",
37
37
  "test:watch": "vitest watch",
38
38
  "test:coverage": "vitest run --coverage",
39
- "prepare": "husky"
39
+ "prepare": "husky",
40
+ "publish": "node scripts/publish.js"
40
41
  },
41
42
  "build": {
42
43
  "appId": "com.markpdfdown.desktop",
@@ -45,8 +46,13 @@
45
46
  "dist/**/*",
46
47
  "!**/*.db",
47
48
  "!**/*.d.ts",
49
+ "!**/*.map",
48
50
  "!**/*.min.*.map",
49
- "!**/{.DS_Store,Thumbs.db}"
51
+ "!**/{.DS_Store,Thumbs.db}",
52
+ "!**/node_modules/**/{CHANGELOG.md,README.md,readme.md,LICENSE,license,License}",
53
+ "!**/node_modules/**/*.{ts,tsx,md,markdown}",
54
+ "!**/node_modules/**/{test,tests,__tests__,__mocks__,docs,doc,example,examples}/**/*",
55
+ "!**/node_modules/.cache/**/*"
50
56
  ],
51
57
  "extraResources": [
52
58
  "node_modules/.prisma/**/*",
@@ -103,19 +109,16 @@
103
109
  "prettier --write"
104
110
  ]
105
111
  },
106
- "optionalDependencies": {
107
- "electron": "^35.0.2"
108
- },
109
112
  "dependencies": {
110
113
  "@ant-design/icons": "^5.6.1",
111
114
  "@prisma/client": "^6.5.0",
115
+ "prisma": "^6.5.0",
112
116
  "@types/sharp": "^0.31.1",
113
117
  "antd": "^5.24.4",
114
118
  "electron-is-dev": "^3.0.1",
115
119
  "katex": "^0.16.21",
116
120
  "pdf-lib": "^1.17.1",
117
121
  "pdf-to-png-converter": "^3.11.0",
118
- "prisma": "^6.5.0",
119
122
  "prismjs": "^1.30.0",
120
123
  "react": "^18.2.0",
121
124
  "react-dom": "^18.2.0",
@@ -155,5 +158,8 @@
155
158
  "vitest": "^2.1.8",
156
159
  "vitest-mock-extended": "^2.0.2",
157
160
  "wait-on": "^8.0.3"
161
+ },
162
+ "optionalDependencies": {
163
+ "electron": "^35.0.2"
158
164
  }
159
165
  }