-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
122 lines (122 loc) · 3.68 KB
/
package.json
File metadata and controls
122 lines (122 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
{
"name": "mkeditor",
"productName": "MKEditor",
"version": "3.6.0",
"license": "MIT",
"author": "Chris Rowles <christopher.rowles@outlook.com>",
"description": "Markdown Editor",
"main": "dist/app/main.js",
"scripts": {
"prettier": "prettier . --write",
"lint": "eslint src",
"test": "jest",
"prebuild": "node -p \"'export const APP_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > src/browser/version.ts",
"build-editor": "npm run prebuild && node ./scripts/combine-locales.mjs && npm run prettier && webpack --config webpack.config.js",
"build-app": "node ./scripts/compile-app.mjs",
"make-installer": "node ./scripts/make-installer.mjs",
"serve-web": "http-server dist",
"serve-app": "electron .",
"publish": "npm run build-editor && npm run build-app && electron-builder --publish always"
},
"repository": {
"type": "git",
"url": "https://github.com/versyxdigital/mkeditor"
},
"devDependencies": {
"@electron/asar": "^4.0.1",
"@fortawesome/fontawesome-svg-core": "^7.0.0",
"@fortawesome/free-brands-svg-icons": "^7.0.0",
"@fortawesome/free-regular-svg-icons": "^7.0.0",
"@fortawesome/free-solid-svg-icons": "^7.0.0",
"@popperjs/core": "^2.11.8",
"@types/bootstrap": "^5.2.10",
"@types/jest": "^30.0.0",
"@types/markdown-it": "^14.1.2",
"@types/markdown-it-container": "^2.0.10",
"@types/node": "^24.3.0",
"@types/wicg-file-system-access": "^2023.10.6",
"@typescript-eslint/eslint-plugin": "^8.41.0",
"@typescript-eslint/parser": "^8.41.0",
"@vscode/markdown-it-katex": "^1.1.2",
"bootstrap": "^5.3.8",
"circle-buffer": "^0.2.2",
"copy-webpack-plugin": "^13.0.1",
"css-loader": "^7.1.2",
"electron": "^37.4.0",
"electron-builder": "^26.0.12",
"eslint": "^9.34.0",
"file-loader": "^6.2.0",
"highlight.js": "^11.11.1",
"html-minimizer-webpack-plugin": "^5.0.3",
"html-webpack-plugin": "^5.6.4",
"jest": "^30.1.1",
"jest-environment-jsdom": "^30.1.1",
"markdown-it": "^14.1.0",
"markdown-it-container": "^4.0.0",
"monaco-editor": "^0.52.2",
"monaco-editor-webpack-plugin": "^7.1.0",
"prettier": "^3.6.2",
"sass": "^1.91.0",
"sass-loader": "^16.0.5",
"split.js": "^1.6.5",
"style-loader": "^4.0.0",
"sweetalert2": "^11.22.5",
"terser-webpack-plugin": "^5.3.14",
"ts-jest": "^29.4.1",
"ts-loader": "^9.5.4",
"typescript": "^5.9.2",
"webpack": "^5.101.3",
"webpack-cli": "^6.0.1"
},
"dependencies": {
"electron-log": "^5.4.3",
"electron-updater": "^6.6.2",
"i18next": "^25.4.2",
"i18next-fs-backend": "^2.6.0"
},
"build": {
"appId": "com.mkeditor.app",
"artifactName": "mkeditor-setup-${version}.${ext}",
"directories": {
"output": "releases/${platform}/${arch}"
},
"fileAssociations": [
{
"ext": [
"md"
],
"name": "Plain Text",
"role": "Editor"
}
],
"linux": {
"target": "deb",
"icon": "build/resources/icon256x256.png",
"category": "Utility"
},
"mac": {
"target": "pkg",
"icon": "build/resources/icon512x512.png"
},
"win": {
"target": "nsis",
"icon": "build/resources/icon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": true,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": true,
"installerIcon": "build/resources/icon.ico",
"license": "build/resources/license.txt"
},
"pkg": {
"license": "build/resources/license.txt"
},
"publish": {
"provider": "github",
"owner": "versyxdigital",
"repo": "mkeditor"
}
}
}