-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
126 lines (126 loc) · 3.55 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
{
"name": "picr",
"version": "0.4.7",
"description": "",
"main": "backend/app.ts",
"scripts": {
"start:server-ts": "tsc -w",
"start:server": "nodemon --watch .env --watch dist dist/backend/app.js",
"start:client": "cd frontend && npm start",
"start:db": "docker compose up -d",
"start": "concurrently npm:start:*",
"build": "tsc",
"run": " node dist/backend/app.js",
"gql": "graphql-codegen --config codegen.ts",
"release": "dotenv -- release-it --only-version",
"test": "npm run build && vitest run",
"test-only": "vitest run"
},
"author": "Isaac Insoll",
"license": "ISC",
"dependencies": {
"archiver": "^7.0.1",
"blurhash": "^2.0.5",
"chokidar": "^3.6.0",
"cli-progress": "^3.12.0",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"exif-reader": "^2.0.1",
"express": "^5.0.1",
"fast-folder-size": "^2.3.0",
"fast-xml-parser": "^4.5.0",
"ffmpeg-static": "^5.2.0",
"ffprobe-static": "^3.1.0",
"fluent-ffmpeg": "^2.1.3",
"graphql": "^16.8.1",
"graphql-http": "^1.22.0",
"graphql-scalars": "^1.23.0",
"join-images": "^1.1.5",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"nodemon": "^3",
"pg": "^8",
"pg-hstore": "^2.3.4",
"progress": "^2.0.3",
"reflect-metadata": "^0.2.1",
"sanitize-html": "^2.13.0",
"semver": "^7.6.3",
"sequelize": "^6.37.1",
"sequelize-typescript": "^2.1.6",
"sharp": "^0.33.2",
"sqlite3": "^5.1.7",
"winston": "^3.14.2"
},
"devDependencies": {
"@graphql-codegen/cli": "^5.0.3",
"@graphql-codegen/client-preset": "^4.2.4",
"@graphql-codegen/introspection": "^4.0.3",
"@release-it/bumper": "^6.0.1",
"@types/archiver": "^6.0.2",
"@types/express": "^5.0",
"@types/fluent-ffmpeg": "^2.1.24",
"@types/jsonwebtoken": "^9.0.5",
"@types/lodash": "^4.17.12",
"@types/node": "^20.11.19",
"@types/pg": "^8.11.4",
"@types/supertest": "^6.0.2",
"@types/validator": "^13.11.9",
"@typescript-eslint/eslint-plugin": "^7.0.1",
"@typescript-eslint/parser": "^7.0.1",
"decompress": "^4.2.1",
"docker-compose": "^1.1.0",
"dotenv-cli": "^7.4.2",
"eslint": "^8.57.1",
"eslint-plugin-react": "^7.37.1",
"eslint-plugin-react-compiler": "^19.0.0-beta-8a03594-20241020",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-react-refresh": "^0.4.13",
"prettier": "^3",
"release-it": "^17.6.0",
"typescript": "^5.6.0-beta",
"vitest": "^2.1.3"
},
"release-it": {
"npm": {
"publish": false
},
"hooks": {
"before:init": [
"cd frontend && npm run build",
"npm run build",
"npm run test-only"
],
"after:git:release": [
"docker build . -t isaacinsoll/picr:latest -t isaacinsoll/picr:${version} -t ghcr.io/isaacinsoll/picr:latest -t ghcr.io/isaacinsoll/picr:${version}",
"docker push isaacinsoll/picr:${version}",
"docker push isaacinsoll/picr:latest",
"docker push ghcr.io/isaacinsoll/picr:${version}",
"docker push ghcr.io/isaacinsoll/picr:latest"
]
},
"git": {
"requireBranch": "master",
"commitMessage": "🚀 Release ${version}",
"commit": true,
"tag": true,
"push": true
},
"github": {
"release": true
},
"plugins": {
"@release-it/bumper": {
"out": {
"file": "dist/version.txt",
"type": "text/plain",
"consumeWholeFile": true
}
}
}
},
"overrides": {
"join-images": {
"sharp": "^0.33"
}
}
}