-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
146 lines (146 loc) · 4.17 KB
/
Copy pathpackage.json
File metadata and controls
146 lines (146 loc) · 4.17 KB
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
{
"name": "subscription-tracker",
"version": "1.2.0",
"private": true,
"description": "SubSync desktop-packaged subscription tracker",
"author": "Evan Newman",
"license": "AGPL-3.0-only",
"main": "desktop/main.cjs",
"packageManager": "npm@10.8.1",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"dev:api": "cross-env API_PORT=43100 npm run start:dev --workspace api",
"dev:web": "cross-env NEXT_PUBLIC_API_BASE_URL=http://127.0.0.1:43100/api npm run dev --workspace web",
"dev:desktop": "electron .",
"build": "npm run build --workspace @subscription-tracker/types && npm run build --workspace api && npm run build --workspace web",
"build:desktop": "npm run build && node ./desktop/prepare-dist.mjs",
"dist:desktop": "npm run build:desktop && electron-builder",
"dist:desktop:publish": "npm run build:desktop && electron-builder --publish always",
"lint": "npm run lint --workspace @subscription-tracker/types && npm run lint --workspace api && npm run lint --workspace web",
"test": "npm run test --workspace @subscription-tracker/types && npm run test --workspace api && npm run test --workspace web && npm run test:desktop",
"test:desktop": "node --test desktop/migrations.test.mjs desktop/runtime-path.test.mjs desktop/server-readiness.test.mjs",
"smoke:desktop:windows": "powershell -NoProfile -ExecutionPolicy Bypass -File desktop/smoke-windows-package.ps1",
"manifest:desktop:windows": "node desktop/generate-update-manifest.mjs",
"format": "npm run format --workspace @subscription-tracker/types && npm run format --workspace api && npm run format --workspace web"
},
"dependencies": {
"@nestjs/common": "^11.2.3",
"@nestjs/core": "^11.2.3",
"@nestjs/mapped-types": "^2.1.1",
"@nestjs/platform-express": "^11.2.3",
"@nestjs/schedule": "^6.1.3",
"@prisma/client": "^5.20.0",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"electron-updater": "^6.8.9",
"reflect-metadata": "^0.2.0",
"rxjs": "7.8.1",
"uuid": "^11.0.3"
},
"overrides": {
"file-type": "21.3.3",
"multer": "2.2.0"
},
"eslintConfig": {
"root": true,
"env": {
"node": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": 2022,
"sourceType": "module"
}
},
"prettier": {
"singleQuote": true,
"semi": true,
"trailingComma": "es5"
},
"build": {
"appId": "com.evannewman.subsync",
"productName": "SubSync",
"directories": {
"app": "desktop/app",
"output": "release"
},
"files": [
"**/*",
"!runtime/web{,/**/*}"
],
"disableDefaultIgnoredFiles": true,
"extraResources": [
{
"from": "desktop/app/runtime/web",
"to": "runtime/web",
"filter": [
"**/*"
]
},
{
"from": "desktop/app/runtime/web/node_modules",
"to": "runtime/web/node_modules",
"filter": [
"**/*"
]
}
],
"asarUnpack": [
"runtime/api/prisma/generated/client/*.node",
"runtime/api/prisma/generated/client/*.dll.node"
],
"artifactName": "SubSync-${version}.${ext}",
"publish": {
"provider": "github",
"owner": "ejames-dev",
"repo": "SubSync"
},
"win": {
"icon": "desktop/app/icon.ico",
"target": [
"portable"
]
},
"portable": {
"artifactName": "SubSync-${version}.exe"
},
"mac": {
"category": "public.app-category.finance",
"artifactName": "SubSync ${version}-${arch}.${ext}",
"target": [
"dmg",
"zip"
]
},
"linux": {
"category": "Office",
"target": [
"AppImage"
],
"artifactName": "SubSync-${version}.${ext}"
}
},
"devDependencies": {
"cross-env": "^7.0.3",
"electron": "^41.10.3",
"electron-builder": "^26.15.3"
},
"volta": {
"node": "22.23.1",
"npm": "10.8.1"
},
"allowScripts": {
"@prisma/client": true,
"@prisma/engines": true,
"prisma": true,
"@sentry/cli@2.58.6": true,
"electron@41.10.5": true,
"electron-winstaller@5.4.0": true,
"unrs-resolver": true
}
}