package.json 3.89 KB
Newer Older
ransome1's avatar
ransome1 committed
1
2
3
{
  "name": "sleek",
  "productName": "sleek",
ransome1's avatar
ransome1 committed
4
  "version": "1.0.4",
ransome1's avatar
ransome1 committed
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  "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/",
  "icon": "assets/icons/icon.png",
  "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
44
45
46
47
48
49
50
51
52
53
    ],
    "appId": "RobinAhle.sleektodomanager",
    "linux": {
      "icon": "assets/icons/icon.png",
      "category": "ProjectManagement",
      "target": [
        "deb",
        "freebsd",
        "rpm",
        "AppImage"
      ]
    },
    "mac": {
54
55
56
57
      "target": {
        "target": "default",
        "arch": "universal"
      },
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
      "icon": "assets/icons/sleek.icns",
      "category": "public.app-category.productivity"
    },
    "nsis": {
      "artifactName": "${productName}-${version}-Setup.${ext}"
    },
    "win": {
      "target": [
        "portable",
        "nsis"
      ],
      "icon": "assets/icons/sleek.ico",
      "publisherName": "CN=2B3D4037-FF2E-4C36-84A6-CFF49F585C0C",
      "artifactName": "${productName}-${version}.${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}"
ransome1's avatar
ransome1 committed
92
93
  },
  "scripts": {
ransome1's avatar
ransome1 committed
94
95
96
97
98
99
    "build:windows": "electron-builder -w --publish never",
    "build:macos": "electron-builder -m --publish never",
    "build:linux": "electron-builder -l --publish never",
    "build:appx": "electron-builder -w appx --publish never",
    "build:pacman": "electron-builder -l pacman --publish never",
    "build:appimage": "electron-builder -l AppImage --publish never",
100
101
    "pack": "electron-builder --dir",
    "lint": "eslint --ext .js, src --ext .mjs, src",
102
103
    "jest": "jest",
    "mocha": "mocha",
104
105
    "sass": "sass -w src/scss/:src/css/",
    "start": "yarn sass & electron ."
ransome1's avatar
ransome1 committed
106
107
  },
  "dependencies": {
ransome1's avatar
ransome1 committed
108
    "@fortawesome/fontawesome-free": "^5.15.3",
109
    "bulma": "^0.9.2",
ransome1's avatar
ransome1 committed
110
    "i18next": "^20.2.2",
ransome1's avatar
ransome1 committed
111
    "i18next-browser-languagedetector": "^6.1.0",
112
    "i18next-fs-backend": "^1.1.1",
113
    "jstodotxt": "^0.9.0",
114
115
    "marked": "^2.0.3",
    "vanillajs-datepicker": "^1.1.4"
ransome1's avatar
ransome1 committed
116
117
  },
  "devDependencies": {
118
    "chai": "^4.3.4",
119
    "electron": "^12.0.5",
120
    "electron-builder": "22.10.5",
121
    "eslint": "^7.25.0",
ransome1's avatar
ransome1 committed
122
    "jest": "^26.6.3",
123
    "mocha": "^8.3.2",
124
    "sass": "^1.32.12",
125
    "spectron": "^14.0.0"
ransome1's avatar
ransome1 committed
126
127
  }
}