forked from Xiphe/budgetbudget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
158 lines (158 loc) · 4.58 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
{
"name": "budgetbudget",
"productName": "BudgetBudget",
"version": "0.0.0-development",
"description": "work with monthly budgets alongside moneymoney",
"scripts": {
"start": "export PORT=$(get-port 7654) && concurrently npm:start:cra npm:start:electron",
"build": "concurrently npm:build:main npm:build:renderer",
"test": "craco test",
"test:cypress": "export PORT=$(get-port 8765); concurrently npm:start:testserver npm:start:cypress",
"pack": "electron-builder --dir",
"inspect:asar": "rm -rf app_asar && asar extract dist/mac/BudgetBudget.app/Contents/Resources/app.asar ./app_asar",
"start:cra": "BROWSER=none craco start",
"start:electron": "npm run wait:server && SERVER_URL=http://localhost:$PORT NODE_ENV=development electron .",
"start:electron:prod": "NODE_ENV=production electron .",
"start:testserver": "export REACT_APP_ENV=test; npm run start:cra",
"start:cypress": "npm run wait:server && export CYPRESS_BASE_URL=http://localhost:$PORT; cypress open",
"build:main": "webpack --config main/webpack.config.cjs",
"build:renderer": "craco build",
"wait:server": "wait-on http://localhost:$PORT"
},
"main": "public/electron.js",
"build": {
"appId": "app.budgetbudget.budgetbudget",
"files": [
"build/**/*",
"main/dist.js",
"!node_modules/**/*"
],
"extraResources": [
{
"from": "main/scripts",
"to": "scripts"
}
],
"mac": {
"category": "public.app-category.finance"
},
"directories": {
"buildResources": "assets"
},
"generateUpdatesFilesForAllChannels": true,
"afterSign": "electron-builder-notarize"
},
"release": {
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"trunk",
"next",
"next-major",
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/exec",
{
"prepareCmd": "npm --no-git-tag-version version ${nextRelease.version} && npm run build && npx --no-install electron-builder --mac --arm64 --x64 --publish never"
}
],
[
"@semantic-release/github",
{
"assets": [
{
"path": "dist/*.dmg"
},
{
"path": "dist/*.zip"
},
{
"path": "dist/latest-mac.yml"
}
]
}
]
]
},
"dependencies": {
"classnames": "2.3.1",
"date-fns": "2.21.1",
"electron-log": "4.3.4",
"electron-settings": "3.2.0",
"electron-updater": "4.3.8",
"expr-eval": "2.0.2",
"focus-visible": "5.2.0",
"fp-ts": "2.10.4",
"io-ts": "2.2.16",
"lodash.isequal": "4.5.0",
"memoize-one": "5.2.1",
"plist": "3.0.2",
"react": "0.0.0-experimental-269dd6ec5",
"react-dom": "0.0.0-experimental-269dd6ec5"
},
"devDependencies": {
"@craco/craco": "6.1.2",
"@semantic-release/exec": "5.0.0",
"@testing-library/cypress": "7.0.6",
"@testing-library/jest-dom": "5.12.0",
"@testing-library/react": "11.2.6",
"@testing-library/user-event": "13.1.8",
"@types/classnames": "2.3.0",
"@types/date-fns": "2.6.0",
"@types/electron-settings": "3.1.2",
"@types/faker": "5.5.3",
"@types/jest": "26.0.23",
"@types/lodash.isequal": "4.5.5",
"@types/node": "15.0.1",
"@types/plist": "3.0.2",
"@types/pouchdb": "6.4.0",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.2",
"@types/testing-library__cypress": "5.0.8",
"asar": "3.1.0",
"concurrently": "6.0.2",
"cypress": "7.2.0",
"cypress-wait-until": "1.7.1",
"electron": "12.0.5",
"electron-builder": "22.13.1",
"electron-builder-notarize": "1.2.0",
"faker": "5.5.3",
"get-port-cli": "1.1.0",
"istextorbinary": "6.0.0",
"memfs": "3.2.2",
"node-sass": "5.0.0",
"react-scripts": "4.0.3",
"semantic-release": "17.4.2",
"serve": "11.3.2",
"ts-loader": "8.3.0",
"ts-node": "9.1.1",
"typescript": "4.2.4",
"typescript-plugin-css-modules": "3.2.0",
"wait-on": "5.3.0",
"webpack-cli": "4.6.0"
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": [
"electron 12.0.5"
],
"repository": {
"type": "git",
"url": "https://github.com/Xiphe/budgetbudget.git"
},
"private": true,
"author": "Hannes Diercks <[email protected]> (https://xiphe.net/)",
"license": "GPL-3.0-or-later",
"homepage": "./"
}