-
-
Notifications
You must be signed in to change notification settings - Fork 423
/
package.json
146 lines (146 loc) · 5.33 KB
/
package.json
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
137
138
139
140
141
142
143
144
145
146
{
"productName": "Publii",
"name": "Publii",
"version": "0.46.3",
"description": "Static Site CMS",
"homepage": "https://getpublii.com",
"author": {
"name": "TidyCustoms",
"email": "[email protected]"
},
"license": "GPL-3.0",
"main": "app/main.js",
"scripts": {
"dev": "cross-env NODE_ENV=development webpack --mode=development --progress --watch",
"prod": "cross-env NODE_ENV=production webpack --mode=production --progress",
"build": "node ./build/scripts/update-build-number.js && cross-env NODE_ENV=development ./node_modules/.bin/electron app/",
"build2": "cross-env NODE_ENV=development ./node_modules/.bin/electron app/",
"notarize": "xcrun notarytool submit ./dist/$npm_config_file --keychain-profile 'Publii' --wait",
"start": "electron app/main.js --enable-logging",
"test": "mocha app/back-end/**/*.spec.js --reporter dot",
"prepare-editor": "npm run prepare-editor-css && npm run remove-vendor-dist-dir && npm run prepare-vendor-dist-dir && npm run copy-vendor-files",
"remove-vendor-dist-dir": "rm -rf app/dist/vendor",
"prepare-editor-css": "./node_modules/.bin/sass app/src/scss/editor/editor.scss app/dist/css/editor.css && ./node_modules/.bin/sass app/src/scss/editor/editor-options.scss app/dist/css/editor-options.css",
"prepare-editor-css:win": "\"node_modules/.bin/sass\" app/src/scss/editor/editor.scss app/dist/css/editor.css && \"node_modules/.bin/sass\" app/src/scss/editor/editor-options.scss app/dist/css/editor-options.css",
"prepare-vendor-dist-dir": "if [ ! -d \"app/dist/vendor\" ]; then mkdir app/dist/vendor; fi && npm run prepare-editor-css",
"copy-vendor-files": "cp -r app/src/helpers/vendor/tinymce app/dist/vendor/tinymce && cp -r app/src/helpers/vendor/jquery app/dist/vendor/jquery",
"prepare-editor:win": "npm run prepare-editor-css:win && npm run remove-vendor-dist-dir-win && npm run prepare-vendor-dist-dir-win && npm run copy-vendor-files-win",
"remove-vendor-dist-dir-win": "if exist app\\dist\\vendor rmdir /s /q app\\dist\\vendor",
"prepare-vendor-dist-dir-win": "md app\\dist\\vendor 2>nul || echo Directory already exists && npm run prepare-editor-css",
"copy-vendor-files-win": "xcopy /s /i /q app\\src\\helpers\\vendor\\tinymce app\\dist\\vendor\\tinymce && xcopy /s /i /q app\\src\\helpers\\vendor\\jquery app\\dist\\vendor\\jquery",
"packager:win": "electron-builder build --win --x64",
"packager:mac-intel": "electron-builder build --mac",
"packager:mac-m": "electron-builder build --mac --arm64",
"packager:linux": "electron-builder build --linux"
},
"repository": {
"url": "https://github.com/GetPublii/Publii/"
},
"bugs": {
"url": "https://github.com/GetPublii/Publii/issues"
},
"keywords": [],
"devDependencies": {
"cross-env": "7.0.3",
"css-loader": "6.8.1",
"electron": "31.7.6",
"electron-builder": "24.13.3",
"file-loader": "6.2.0",
"glob": "10.3.10",
"mocha": "10.2.0",
"node-abi": "3.65.0",
"node-loader": "2.0.0",
"node-sass": "9.0.0",
"sass-loader": "13.3.2",
"vue-loader": "15.11.1",
"vue-style-loader": "4.1.3",
"vue-template-compiler": "2.6.14",
"webpack": "5.89.0",
"webpack-cli": "5.1.4"
},
"build": {
"appId": "com.tidycustoms.publii",
"electronVersion": "31.7.6",
"productName": "Publii",
"copyright": "Copyright (C) 2018-2024 TidyCustoms. All rights reserved.",
"asar": true,
"asarUnpack": [
"*.+(dylib|node|dll|aff|dic)",
"default-files/default-themes/**/*",
"default-files/default-languages/**/*",
"default-files/gdpr-assets/**/*",
"default-files/vendor/**/*",
"**/node_modules/sharp/**/*",
"**/node_modules/@img/**/*",
"node_modules/keytar/**/*",
"node_modules/better-sqlite3/**/*"
],
"afterPack": "./build/scripts/afterPack.js",
"files": [
"**/*",
"dist/**/*",
"!app/node_modules/devtron/**/*",
"!app/node_modules/accessibility-developer-tools/**/*",
"!app/node_modules/babel*",
"!app/node_modules/postcss*",
"!app/node_modules/asn1/**/*",
"!app/node_modules/electron-*",
"app/node_modules/publii-block-editor"
],
"linux": {
"icon": "./build/installation/icon.icns",
"target": [
"rpm",
"AppImage",
"deb"
],
"category": "Development",
"description": "Static Site CMS",
"executableName": "Publii"
},
"win": {
"icon": "build/installation/icon.ico",
"target": "nsis"
},
"mac": {
"category": "public.app-category.utilities",
"icon": "build/installation/icon.icns",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"target": [
"dmg",
"zip"
],
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"minimumSystemVersion": "10.10"
},
"nsis": {
"oneClick": true,
"createDesktopShortcut": "always"
},
"dmg": {
"sign": false,
"icon": "build/installation/volume.icns",
"title": "Install Publii"
}
},
"deb": {
"depends": [
"libsecret-1-dev",
"gnome-keyring"
]
},
"rpm": {
"depends": [
"libsecret-devel",
"gnome-keyring"
]
},
"appImage": {
"license": "license.txt"
},
"dependencies": {
"node-gyp": "10.0.1"
}
}