forked from ransome1/sleek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
executable file
·131 lines (131 loc) · 4.34 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
{
"name": "sleek",
"productName": "sleek",
"version": "1.1.5",
"description": "Todo app based on todo.txt for Linux, Windows and MacOS, free and open-source",
"synopsis": "Todo app based on todo.txt for Linux, Windows and MacOS, free and open-source",
"category": "ProjectManagement",
"keywords": [
"todo.txt",
"todo",
"productivity",
"tasks"
],
"author": "Robin Ahle <[email protected]>",
"copyright": "Copyright © 2021 ${author}",
"license": "MIT",
"repository": "https://github.com/ransome1/sleek/",
"icon": "assets/icons/sleek.png",
"main": "src/main.js",
"buildResources": "src",
"build": {
"files": [
"!flatpak-node${/*}",
"!snap${/*}",
"!flatpak${/*}",
"!.git${/*}",
"!.github${/*}",
"!dist${/*}",
"!**.pfx",
"!**.bak",
"!**.md",
"!**.gitignore",
"!yarn.lock",
"!assets/screenshots${/*}",
"!**/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${/*}"
],
"appId": "RobinAhle.sleektodomanager",
"linux": {
"icon": "assets/icons/sleek.png",
"category": "ProjectManagement",
"target": [
"deb",
"freebsd",
"rpm",
"AppImage"
]
},
"mac": {
"target": {
"target": "default",
"arch": "universal"
},
"icon": "assets/icons/sleek.icns",
"category": "public.app-category.productivity",
"artifactName": "${productName}-${version}-mac.${ext}"
},
"nsis": {
"artifactName": "${productName}-${version}-win-Setup.${ext}"
},
"win": {
"target": [
"zip",
"portable",
"nsis"
],
"icon": "assets/icons/sleek.ico",
"artifactName": "${productName}-${version}-win.${ext}"
},
"appx": {
"displayName": "sleek - Todo.txt app for Windows, free and open-source",
"identityName": "17450RobinAhle.sleektodomanager",
"publisher": "CN=2B3D4037-FF2E-4C36-84A6-CFF49F585C0C",
"publisherDisplayName": "Robin Ahle",
"applicationId": "RobinAhle.sleektodomanager"
}
},
"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:windows": "yarn build:css && yarn build:pegjs && electron-builder -w --publish never",
"build:macos": "yarn build:css && yarn build:pegjs && electron-builder -m --publish never",
"build:linux": "yarn build:css && yarn build:pegjs && electron-builder -l --publish never",
"build:appx": "yarn build:css && yarn build:pegjs && electron-builder -w appx --publish never",
"build:appimage": "yarn build:css && yarn build:pegjs && electron-builder -l AppImage --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",
"test": "mocha --timeout 10000",
"test1": "mocha ./test/todoModal.js --timeout 10000",
"sass": "sass -w src/scss/style.scss:src/css/style.css",
"start": "yarn sass & electron ."
},
"dependencies": {
"@fortawesome/fontawesome-free": "^5.15.3",
"bulma": "^0.9.2",
"chokidar": "^3.5.1",
"electron-updater": "^4.3.9",
"electron-windows-badge": "^1.1.0",
"i18next": "^20.2.2",
"i18next-fs-backend": "^1.1.1",
"jstodotxt": "^0.10.0",
"marked": "^2.0.3",
"sugar": "^2.0.6",
"vanillajs-datepicker": "^1.1.4"
},
"devDependencies": {
"electron": "12.2.3",
"electron-builder": "^22.11.7",
"eslint": "^7.25.0",
"mocha": "^9.0.0",
"peggy": "^1.2.0",
"sass": "^1.34.1",
"spectron": "14.0.0"
}
}