package.json 4.35 KB
Newer Older
ransome1's avatar
ransome1 committed
1
2
3
{
  "name": "sleek",
  "productName": "sleek",
4
  "version": "1.1.2-rc.3",
ransome1's avatar
ransome1 committed
5
6
7
8
9
10
11
12
13
14
15
16
17
  "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 <ransome@uber.space>",
  "copyright": "Copyright © 2021 ${author}",
  "license": "MIT",
  "repository": "https://github.com/ransome1/sleek/",
18
  "icon": "assets/icons/sleek.png",
ransome1's avatar
ransome1 committed
19
20
21
22
  "main": "src/main.js",
  "buildResources": "src",
  "build": {
    "files": [
ransome1's avatar
ransome1 committed
23
      "!flatpak-node${/*}",
ransome1's avatar
ransome1 committed
24
      "!snap${/*}",
25
      "!flatpak${/*}",
ransome1's avatar
ransome1 committed
26
      "!.git${/*}",
27
      "!.github${/*}",
ransome1's avatar
ransome1 committed
28
29
30
31
      "!dist${/*}",
      "!**.pfx",
      "!**.bak",
      "!**.md",
32
33
34
      "!**.gitignore",
      "!yarn.lock",
      "!assets/screenshots${/*}",
ransome1's avatar
ransome1 committed
35
36
37
38
39
40
      "!**/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${/*}"
41
42
43
    ],
    "appId": "RobinAhle.sleektodomanager",
    "linux": {
44
      "icon": "assets/icons/sleek.png",
45
46
47
48
49
50
51
52
53
      "category": "ProjectManagement",
      "target": [
        "deb",
        "freebsd",
        "rpm",
        "AppImage"
      ]
    },
    "mac": {
54
55
      "target": {
        "target": "default",
56
        "arch": "universal"
57
      },
58
      "icon": "assets/icons/sleek.icns",
59
60
      "category": "public.app-category.productivity",
      "artifactName": "${productName}-${version}-mac.${ext}"
61
62
    },
    "nsis": {
63
      "artifactName": "${productName}-${version}-win-Setup.${ext}"
64
65
66
    },
    "win": {
      "target": [
67
        "zip",
68
69
70
71
        "portable",
        "nsis"
      ],
      "icon": "assets/icons/sleek.ico",
72
      "artifactName": "${productName}-${version}-win.${ext}"
73
74
75
76
77
78
    },
    "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",
79
      "applicationId": "RobinAhle.sleektodomanager"
80
81
82
83
84
85
86
87
88
89
90
91
92
    }
  },
  "appImage": {
    "artifactName": "${productName}-${version}-${arch}.${ext}"
  },
  "rpm": {
    "artifactName": "${productName}-${version}-${arch}.${ext}"
  },
  "deb": {
    "artifactName": "${productName}-${version}-${arch}.${ext}"
  },
  "freebsd": {
    "artifactName": "${productName}-${version}-${arch}.${ext}"
ransome1's avatar
ransome1 committed
93
94
  },
  "scripts": {
ransome1's avatar
ransome1 committed
95
96
97
98
    "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",
99
    "build:appimage": "yarn build:css && yarn build:pegjs && electron-builder -l AppImage --publish never",
zerodat's avatar
zerodat committed
100
    "build:css": "sass src/scss/style.scss:src/css/style.css",
ransome1's avatar
ransome1 committed
101
102
    "build:pegjs": "peggy --format es --output src/js/filterlang.mjs src/js/filterlang.pegjs",
    "pack": "yarn build:css && yarn build:pegjs && electron-builder --dir",
103
    "lint": "eslint --ext .js, src --ext .mjs, src",
104
    "test": "mocha --timeout 10000",
105
    "test1": "mocha ./test/todoModal.js --timeout 10000",
ransome1's avatar
ransome1 committed
106
    "sass": "sass -w src/scss/style.scss:src/css/style.css",
107
    "start": "yarn sass & electron ."
ransome1's avatar
ransome1 committed
108
109
  },
  "dependencies": {
ransome1's avatar
ransome1 committed
110
    "@fortawesome/fontawesome-free": "^5.15.3",
111
    "bulma": "^0.9.2",
112
    "chokidar": "^3.5.1",
113
    "electron-updater": "^4.3.9",
114
    "electron-windows-badge": "^1.1.0",
ransome1's avatar
ransome1 committed
115
    "i18next": "^20.2.2",
116
    "i18next-fs-backend": "^1.1.1",
117
    "jstodotxt": "^0.10.0",
118
    "marked": "^2.0.3",
Daniel Weisser's avatar
Daniel Weisser committed
119
    "sugar": "^2.0.6",
120
    "vanillajs-datepicker": "^1.1.4"
ransome1's avatar
ransome1 committed
121
122
  },
  "devDependencies": {
123
    "electron": "12.0.10",
ransome1's avatar
ransome1 committed
124
    "electron-builder": "^22.11.7",
125
    "eslint": "^7.25.0",
126
    "mocha": "^9.0.0",
ransome1's avatar
ransome1 committed
127
    "peggy": "^1.2.0",
128
    "sass": "^1.34.1",
ransome1's avatar
ransome1 committed
129
    "spectron": "14.0.0"
ransome1's avatar
ransome1 committed
130
131
  }
}