about summary refs log tree commit diff
path: root/nixpkgs/pkgs/applications/office/micropad/package.json
blob: 784aad7be11ab61696f142f19b56468c94b791f0 (plain) (blame)
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
{
  "name": "micropad",
  "version": "3.30.5",
  "description": "A powerful note-taking app that helps you organise + take notes without restrictions.",
  "main": "main.js",
  "scripts": {
    "start": "yarn build && yarn electron . --is-dev --no-sandbox",
    "build": "yarn tsc -p tsconfig.json",
    "update-core": "rm -rf core && rm -rf tmp && mkdir tmp && wget https://github.com/MicroPad/MicroPad-Core/releases/download/v${npm_package_version}/micropad.tar.xz -P ./tmp && cd tmp && tar -xf micropad.tar.xz && rm build/*.map && rm build/static/*/*.map && cp -r build ../core && cd .. && rm -rf tmp",
    "pack": "yarn build && yarn electron-builder --dir",
    "dist": "yarn build && yarn electron-builder"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/MicroPad/Electron.git"
  },
  "author": {
    "name": "Nick Webster",
    "email": "nick@nick.geek.nz"
  },
  "license": "MPL-2.0",
  "bugs": {
    "url": "https://github.com/MicroPad/Electron/issues"
  },
  "homepage": "https://getmicropad.com",
  "devDependencies": {
    "electron": "^17.1.0",
    "electron-builder": "^23.0.2",
    "typescript": "~4.5.4"
  },
  "dependencies": {
    "dictionary-en": "^3.0.0",
    "dictionary-en-au": "^2.1.1",
    "electron-context-menu": "^3.1.2",
    "localforage": "^1.10.0",
    "typo-js": "^1.2.1"
  },
  "build": {
    "appId": "com.getmicropad.micropad",
    "productName": "µPad",
    "publish": {
      "provider": "github",
      "releaseType": "release"
    },
    "asarUnpack": [
      "preload.js"
    ],
    "linux": {
      "target": [
        "tar.gz",
        "AppImage",
        "snap",
        "deb",
        "rpm",
        "pacman"
      ],
      "executableName": "micropad",
      "category": "Office",
      "icon": "build/icons"
    },
    "pacman": {
      "depends": [
        "gtk3"
      ]
    },
    "snap": {
      "publish": {
        "provider": "github",
        "releaseType": "release"
      }
    },
    "mac": {
      "target": {
        "target": "dmg",
        "arch": "universal"
      },
      "category": "public.app-category.productivity",
      "identity": null
    },
    "win": {
      "target": [
        "nsis",
        "portable"
      ]
    }
  }
}