forked from ransome1/sleek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·159 lines (159 loc) · 5.19 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
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "sleek",
"productName": "sleek",
"version": "1.1.9",
"description": "todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)",
"synopsis": "todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)",
"category": "ProjectManagement",
"keywords": [
"todo.txt",
"todo",
"productivity",
"tasks"
],
"author": "Robin Ahle <[email protected]>",
"copyright": "Copyright © 2022 ${author}",
"license": "MIT",
"repository": "https://github.com/ransome1/sleek/",
"icon": "assets/icons/sleek.png",
"main": "src/main.js",
"buildResources": "src",
"build": {
"buildVersion": "16",
"files": [
"!flatpak-node${/*}",
"!snap${/*}",
"!flatpak${/*}",
"!.git${/*}",
"!.github${/*}",
"!dist${/*}",
"!**.pfx",
"!**.bak",
"!**.md",
"!**.gitignore",
"!yarn.lock",
"!yarn-error.log",
"!assets/screenshots${/*}",
"!assets/store_badges${/*}",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",
"!**/node_modules/.bin",
"!**/*.{o,hprof,orig,pyc,pyo,rbc}",
"!**/._*",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock,.yarn-integrity}",
"!**/node_modules/search-index/si${/*}"
],
"linux": {
"icon": "assets/icons/sleek.png",
"category": "ProjectManagement",
"target": [
"deb",
"freebsd",
"rpm",
"AppImage"
]
},
"mac": {
"appId": "com.todotxt.sleek",
"target": [
{
"target": "default",
"arch": "universal"
}
],
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
"icon": "build/icon.icns",
"category": "public.app-category.productivity",
"artifactName": "${productName}-${version}-mac.${ext}",
"darkModeSupport": true
},
"dmg": {
"sign": false,
"background": "build/background.tiff",
"window": {
"width": 720,
"height": 380
}
},
"mas": {
"asarUnpack": [
"node_modules/fsevents"
],
"hardenedRuntime": false,
"provisioningProfile": "build/distribution.provisionprofile",
"entitlements": "build/entitlements.mas.plist",
"entitlementsInherit": "build/entitlements.mas.inherit.plist"
},
"win": {
"target": [
"zip",
"portable",
"nsis"
],
"icon": "assets/icons/sleek.ico",
"artifactName": "${productName}-${version}-win.${ext}"
},
"nsis": {
"artifactName": "${productName}-${version}-win-Setup.${ext}"
},
"appx": {
"displayName": "sleek - todo.txt manager for Windows, free and open-source (FOSS)",
"identityName": "17450RobinAhle.sleektodomanager",
"publisher": "CN=2B3D4037-FF2E-4C36-84A6-CFF49F585C0C",
"publisherDisplayName": "Robin Ahle",
"applicationId": "RobinAhle.sleektodomanager"
},
"afterSign": "build/notarize.js"
},
"appImage": {
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"rpm": {
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"deb": {
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"freebsd": {
"artifactName": "${productName}-${version}-${arch}.${ext}"
},
"scripts": {
"build:mas": "yarn build:css && yarn build:pegjs && electron-builder -m mas --universal --publish never && bash build/resignPkg.sh",
"build:macos": "yarn build:css && yarn build:pegjs && electron-builder -m zip --universal --publish never && bash build/resignPkg.sh",
"build:appx": "yarn build:css && yarn build:pegjs && electron-builder -w appx --publish never",
"build:css": "sass src/scss/style.scss:src/css/style.css",
"build:pegjs": "peggy --format es --output src/js/filterlang.mjs src/js/filterlang.pegjs",
"pack": "yarn build:css && yarn build:pegjs && electron-builder --dir",
"lint": "eslint --ext .js, src --ext .mjs, src",
"sass": "sass -w src/scss/style.scss:src/css/style.css",
"start": "yarn sass & electron .",
"test": "yarn playwright test --config=test/playwright.config.js",
"test1": "yarn playwright test -g 'Check if multi line items are displayed correctly' --config=test/playwright.config.js"
},
"dependencies": {
"@fortawesome/fontawesome-free": "^6.1.1",
"bulma": "^0.9.2",
"chokidar": "^3.5.1",
"electron-updater": "^4.6.5",
"electron-windows-badge": "^1.1.0",
"i18next": "^21.6.6",
"i18next-fs-backend": "^1.1.1",
"jstodotxt": "^0.10.0",
"marked": "^4.0.12",
"sugar": "^2.0.6",
"vanillajs-datepicker": "^1.1.4"
},
"devDependencies": {
"@playwright/test": "^1.17.2",
"electron": "^17.2.0",
"electron-builder": "23.0.2",
"electron-notarize": "^1.1.1",
"electron-reloader": "^1.2.2",
"eslint": "^8.6.0",
"peggy": "^1.2.0",
"playwright": "^1.18.0",
"sass": "^1.34.1"
}
}