This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
217 lines (217 loc) · 7.29 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
{
"name": "blix",
"description": "Blix - An AI-assisted graph photo editor",
"version": "1.3.0",
"repository": {
"type": "git",
"url": "https://github.com/COS301-SE-2023/AI-Photo-Editor.git"
},
"author": {
"name": "The Spanish Inquisition",
"email": "[email protected]",
"url": "https://github.com/COS301-SE-2023/AI-Photo-Editor"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/COS301-SE-2023/AI-Photo-Editor/issues"
},
"keywords": [
"electron",
"svelte",
"typescript",
"electron-builder",
"tslint",
"ts-jest",
"electron-settings",
"electron-updater",
"rollup"
],
"homepage": "https://github.com/COS301-SE-2023/AI-Photo-Editor#readme",
"main": "build/index.js",
"scripts": {
"prestart": "cross-env NODE_ENV=development node scripts/preBuild.js",
"start": "cross-env NODE_ENV=development npm-run-all -p -r build:frontend:dev start:electron",
"prebuild": "cross-env NODE_ENV=production node scripts/preBuild.js",
"build": "cross-env NODE_ENV=production npm-run-all -s build:frontend:prod build:electron:prod",
"postbuild": "cross-env NODE_ENV=production node scripts/postBuild.js",
"build:frontend:dev": "cross-env NODE_ENV=development rollup -c -w --bundleConfigAsCjs",
"build:frontend:prod": "cross-env NODE_ENV=production rollup -c --bundleConfigAsCjs",
"build:electron:dev": "tsc --p ./tsconfig.electron.json",
"build:electron:dev:watch": "tsc -w --p ./tsconfig.electron.json",
"build:electron:prod": "cross-env NODE_ENV=production tsc --p ./tsconfig.electron.prod.json",
"validate:svelte": "svelte-check",
"start:electron:run": "electron .",
"start:electron:nodemon": "nodemon --verbose",
"start:electron:dev": "npm-run-all -s build:electron:dev start:electron:nodemon",
"start:electron": "sleep 5 && npm-run-all -p build:electron:dev:watch start:electron:dev",
"test": "jest --config jest.config.json --forceExit",
"playwright": "npm run build && NODE_ENV=test playwright test",
"postinstall": "electron-builder install-app-deps",
"prepack": "npm run build",
"pack": "electron-builder --dir",
"predist": "npm run build",
"dist": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder",
"win": "electron-builder --win",
"postdist": "node scripts/cleanBuilds.js",
"format": "prettier --write \"src/**/**/*\" --write \"scripts/**/**/*\"",
"lint:electron": "eslint -c eslint.electron.json --ext .js,.ts src/electron",
"lint:svelte": "eslint -c eslint.svelte.json --ext .js,.ts src/frontend",
"lint": "npm-run-all -s lint:electron lint:svelte",
"prepublishOnly": "npm-run-all -s test lint",
"preversion": "npm-run-all -s lint format",
"prepare": "husky install",
"llm": "cross-env NODE_ENV=development npm run build:electron:dev && node build/electron/lib/ai/ai-profiler-v2.js",
"cli": "cross-env NODE_ENV=development npm run build:electron:dev && node build/electron/lib/ai/cli.js",
"predeploy": "npm run build",
"deploy": "cross-env CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder --publish always",
"postdeploy": "node scripts/cleanBuilds.js"
},
"lint-staged": {
"src/electron/**/*.{js,ts}": "eslint -c eslint.electron.json",
"src/frontend/**/*.{js,ts}": "eslint -c eslint.svelte.json",
"(src|scripts)/**": "prettier --write --ignore-unknown"
},
"dependencies": {
"@electron/remote": "^2.0.10",
"@google-ai/generativelanguage": "^1.0.1",
"@neoconfetti/svelte": "^1.0.0",
"@popperjs/core": "^2.11.8",
"@types/chokidar": "^2.1.3",
"archiver": "^6.0.1",
"blix_svelvet": "^1.0.20",
"child_process": "^1.0.2",
"chokidar": "^3.5.3",
"cohere-ai": "^5.1.0",
"dotenv": "^16.3.1",
"electron-affinity": "^1.2.4",
"electron-ipc-mock": "^0.0.3",
"electron-log": "^4.4.8",
"electron-prompt": "^1.7.0",
"electron-store": "^8.1.0",
"electron-updater": "^5.3.0",
"flowbite": "^1.7.0",
"flowbite-svelte": "^0.39.2",
"google-auth-library": "^8.9.0",
"langchain": "^0.0.104",
"openai": "^4.3.1",
"svelte": "^3.59.0",
"tailwind-merge": "^1.13.2",
"tinykeys": "^1.4.0",
"unzipper": "^0.10.14",
"zod": "^3.21.4"
},
"devDependencies": {
"@babel/preset-env": "^7.22.5",
"@catppuccin/tailwindcss": "^0.1.1",
"@fortawesome/free-regular-svg-icons": "^6.4.0",
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@playwright/test": "^1.36.0",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.1",
"@rollup/plugin-typescript": "^11.1.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/svelte": "^3.2.2",
"@tsconfig/svelte": "^4.0.1",
"@types/archiver": "^5.3.3",
"@types/clean-css": "^4.2.6",
"@types/electron-prompt": "^1.6.1",
"@types/html-minifier": "^4.0.2",
"@types/jest": "^29.5.2",
"@types/node": "^20.0.0",
"@types/unzipper": "^0.10.7",
"@types/ws": "^8.5.5",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"autoprefixer": "^10.4.14",
"babel-jest": "^29.5.0",
"chalk": "^4.1.2",
"clean-css": "^5.3.2",
"colord": "^2.9.3",
"commander": "^11.0.0",
"cross-env": "^7.0.3",
"electron": "^24.2.0",
"electron-builder": "^24.3.0",
"eslint": "^8.39.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-jsdoc": "^43.2.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"html-minifier": "^4.0.0",
"husky": "^8.0.3",
"jest": "^29.5.0",
"jest-environment-jsdom": "^29.5.0",
"jest-websocket-mock": "^2.5.0",
"lint-staged": "^13.2.2",
"marked": "^9.0.3",
"nodemon": "^2.0.22",
"npm-run-all": "^4.1.5",
"playwright": "^1.36.0",
"postcss": "^8.4.23",
"prettier": "^2.8.8",
"prettier-plugin-svelte": "^2.10.0",
"prettier-plugin-tailwindcss": "^0.2.8",
"prompts": "^2.4.2",
"rollup": "^3.21.5",
"rollup-plugin-css-only": "^4.3.0",
"rollup-plugin-livereload": "^2.0.5",
"rollup-plugin-serve": "^2.0.2",
"rollup-plugin-svelte": "^7.1.4",
"svelte-awesome-color-picker": "^2.4.7",
"svelte-check": "^3.3.1",
"svelte-fa": "^3.0.4",
"svelte-jester": "^2.3.2",
"svelte-preprocess": "^5.0.3",
"svelte-splitpanes": "^0.7.13",
"tailwindcss": "^3.3.2",
"tailwindcss-palette-generator": "^0.4.5",
"terser": "^5.17.1",
"ts-jest": "^29.1.0",
"tslib": "^2.5.0",
"typescript": "^5.1.6",
"ws": "^8.13.0"
},
"optionalDependencies": {
"dmg-license": "^1.0.11"
},
"build": {
"productName": "Blix",
"appId": "com.the-spanish-inquisition.blix",
"copyright": "Copyright © 2023 Blix",
"win": {
"target": [
"nsis"
]
},
"mac": {
"target": [
"dmg"
],
"category": "productivity",
"type": "distribution",
"hardenedRuntime": "true"
},
"linux": {
"target": [
"deb",
"AppImage"
],
"category": "productivity"
},
"files": [
"build/**/*",
"node_modules/**/*",
"package.json"
],
"extraResources": [
"assets/**",
"blix-plugins/**"
],
"publish": [
{
"provider": "github",
"owner": "COS301-SE-2023",
"repo": "AI-Photo-Editor"
}
]
}
}