Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 4.37 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 4.37 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "pp-md",
"private": true,
"version": "1.3.9",
"description": "Power Platform solution documentation generator for Windows desktop.",
"author": "Mike Hartley",
"companyName": "Hart of the Midlands",
"type": "module",
"main": "electron/main.cjs",
"scripts": {
"dev": "vite",
"desktop:dev": "concurrently -k \"vite\" \"wait-on tcp:5173 && electron .\"",
"check:contrast": "node scripts/check-contrast.mjs",
"smoke:doc": "tsx scripts/smoke-doc.ts",
"test": "vitest",
"test:run": "vitest run",
"test:a11y": "playwright test -c playwright.a11y.config.ts",
"quality:gate": "npm run lint && npm run test:run && npm run smoke:doc && npm run build && npm run test:a11y",
"build": "npm run check:contrast && tsc && vite build",
"build:with-maps": "npm run check:contrast && tsc && vite build --mode debug",
"desktop:stamp": "node scripts/stamp-exe.mjs",
"desktop:build:latest": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/build-latest.ps1",
"desktop:build:latest:skip-build": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/build-latest.ps1 -SkipBuild",
"phase:complete": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/phase-complete.ps1",
"desktop:build": "npm run build && set PPMD_FLAVOR=portable&& set CSC_IDENTITY_AUTO_DISCOVERY=false&& electron-builder --win portable",
"desktop:build:installer": "npm run build && set PPMD_FLAVOR=installer&& set CSC_IDENTITY_AUTO_DISCOVERY=false&& electron-builder --win nsis",
"preview": "vite preview",
"lint": "eslint src --report-unused-disable-directives --max-warnings 0"
},
"dependencies": {
"dompurify": "^3.4.14",
"fast-xml-parser": "^5.11.0",
"file-saver": "^2.0.5",
"jspdf": "^4.2.1",
"jszip": "^3.10.1",
"mermaid": "^11.17.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-markdown": "^10.1.0",
"rehype-raw": "^7.0.0",
"rehype-sanitize": "^6.0.0",
"remark-gfm": "^4.0.1",
"remark-parse": "^11.0.0",
"unified": "^11.0.5",
"xlsx-js-style": "^1.2.0"
},
"devDependencies": {
"@axe-core/playwright": "^4.13.0",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.62.1",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.2",
"@types/file-saver": "^2.0.7",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@vitejs/plugin-react": "^6.0.5",
"axe-core": "^4.13.0",
"concurrently": "^10.0.5",
"electron": "^43.4.1",
"electron-builder": "^26.15.3",
"eslint": "^10.8.1",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.11.0",
"jsdom": "^30.0.1",
"rcedit": "^5.0.2",
"tsx": "^4.23.12",
"typescript": "^6.0.3",
"typescript-eslint": "^8.67.0",
"vite": "^8.2.1",
"vitest": "^4.1.11",
"wait-on": "^9.1.0"
},
"overrides": {
"katex": "0.18.2"
},
"build": {
"afterPack": "scripts/electron-builder-after-pack.cjs",
"appId": "com.ppmd.desktop",
"productName": "PP-MD",
"asar": true,
"compression": "maximum",
"copyright": "Copyright (c) Mike Hartley, Hart of the Midlands",
"forceCodeSigning": false,
"extraMetadata": {
"author": "Mike Hartley",
"companyName": "Hart of the Midlands"
},
"directories": {
"output": "release",
"buildResources": "build"
},
"files": [
"dist/**/*",
"electron/**/*",
"build/icon.ico",
"package.json"
],
"win": {
"signAndEditExecutable": false,
"executableName": "PP-MD",
"icon": "build/icon.ico",
"signtoolOptions": {
"publisherName": "Hart of the Midlands"
},
"target": [
"portable",
"nsis"
],
"artifactName": "PP-MD-${version}-${arch}-${env.PPMD_FLAVOR}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"installerIcon": "build/icon.ico",
"uninstallerIcon": "build/icon.ico"
},
"linux": {
"target": [
"AppImage"
],
"icon": "build/icon.png",
"category": "Development",
"artifactName": "PP-MD-${version}-${arch}.${ext}"
},
"mac": {
"target": [
"dmg",
"zip"
],
"icon": "build/icon.icns",
"category": "public.app-category.developer-tools",
"artifactName": "PP-MD-${version}-${arch}.${ext}"
}
}
}