-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
111 lines (111 loc) · 4.63 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
{
"name": "gamgee",
"version": "3.1.0",
"description": "A Discord bot for managing a song request queue.",
"private": true,
"scripts": {
"start": "NODE_ENV=development ./node_modules/.bin/nodemon -x 'node --env-file=.env' --inspect dist/server.js",
"setup": "rm -r dist && npm ci && npm run export-version && npm run build:only --omit=dev && npm run baseline && npm run migrate && npm run commands:deploy",
"firstrun": "npm run setup:buildtime && npm run setup:firstrun",
"firstrun:buildtime": "rm -r dist; npm ci && npm run export-version && npm run build:only --omit=dev",
"firstrun:runtime": "npm run prisma:generate && npm run migrate && npm run commands:deploy",
"commands:deploy": "node . --deploy",
"commands:revoke": "node . --revoke",
"release": "./node_modules/.bin/tsx --tsconfig ./tsconfig.test.json scripts/release.ts",
"baseline": "./node_modules/.bin/prisma migrate resolve --applied 20220915022732_initial_state",
"migrate": "./node_modules/.bin/prisma migrate deploy",
"prisma:introspect": "./node_modules/.bin/prisma db pull",
"prisma:generate": "./node_modules/.bin/prisma generate --no-hints --schema ./prisma/schema.prisma",
"migrations:generate": "./node_modules/.bin/prisma migrate dev --create-only",
"lint": "npm run export-version && npm run lintonly",
"lint:fix": "npm run export-version && npm run lintonly -- --fix",
"lintonly": "./node_modules/.bin/eslint . --ext .ts",
"prebuild": "npm run lint",
"build": "npm run build:only",
"build:only": "./node_modules/.bin/rollup --config rollup.config.ts --configPlugin esbuild",
"export-version": "./node_modules/.bin/genversion ./src/version.ts -esd",
"test": "npm run test:src && npm run test:e2e",
"test:src": "export DATABASE_URL=\"file:$(pwd)/tests/db-test/db.sqlite\"; ./node_modules/.bin/prisma migrate reset --force && node --env-file=.env ./node_modules/vitest/vitest.mjs run",
"test:src:watch": "export DATABASE_URL=\"file:$(pwd)/tests/db-test/db.sqlite\"; ./node_modules/.bin/prisma migrate reset --force && node --env-file=.env ./node_modules/vitest/vitest.mjs watch --coverage=false",
"test:e2e": "./node_modules/.bin/concurrently -kn bot,vitest -s first 'npm run start:test' 'sleep 5 && npm run _test:e2e'",
"start:test": "export DATABASE_URL=\"file:$(pwd)/tests/db-test/db.sqlite\"; export NODE_ENV=test-e2e; ./node_modules/.bin/prisma migrate reset --force && node .",
"_test:e2e": "node --env-file=.env ./node_modules/vitest/vitest.mjs run --config vitest.config.e2e.ts"
},
"main": "./dist/server.js",
"type": "module",
"engines": {
"node": ">=20.10"
},
"files": [
"dist/"
],
"repository": {
"type": "git",
"url": "git+https://github.com/AverageHelper/Gamgee.git"
},
"author": "AverageHelper",
"license": "LICENSE",
"bugs": {
"url": "https://github.com/AverageHelper/Gamgee/issues"
},
"homepage": "https://github.com/AverageHelper/Gamgee#readme",
"dependencies": {
"@averagehelper/job-queue": "3.0.0",
"@prisma/client": "5.18.0",
"discord.js": "14.9.0",
"htmlmetaparser": "2.1.2",
"htmlparser2": "8.0.1",
"humanize-duration": "3.27.2",
"lodash-es": "4.17.21",
"soundcloud-scraper": "5.0.3",
"source-map-support": "0.5.21",
"superstruct": "1.0.3",
"temporal-polyfill": "0.2.5",
"winston": "3.8.1",
"winston-daily-rotate-file": "4.7.1",
"ytdl-core": "4.11.5"
},
"devDependencies": {
"@rollup/plugin-commonjs": "25.0.7",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-replace": "5.0.5",
"@types/humanize-duration": "3.27.1",
"@types/lodash-es": "4.17.12",
"@types/node": "20.10.8",
"@types/semver": "7.3.12",
"@types/source-map-support": "0.5.4",
"@typescript-eslint/eslint-plugin": "7.0.1",
"@typescript-eslint/parser": "7.0.1",
"@vitest/coverage-v8": "2.0.5",
"concurrently": "7.2.2",
"esbuild": "0.20.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-strictest": "0.8.1",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-deprecation": "2.0.0",
"eslint-plugin-file-progress": "1.3.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-require-extensions": "0.1.3",
"eslint-plugin-unicorn": "51.0.1",
"eslint-plugin-vitest": "0.4.1",
"genversion": "3.1.1",
"keep-a-changelog": "2.5.3",
"nodemon": "3.1.4",
"prettier": "3.2.5",
"prisma": "5.18.0",
"rollup": "4.12.0",
"rollup-plugin-analyzer": "4.0.0",
"rollup-plugin-esbuild": "6.1.1",
"rollup-plugin-visualizer": "5.12.0",
"semver": "7.6.3",
"tsx": "4.7.1",
"type-fest": "4.10.2",
"typescript": "5.3.3",
"vitest": "2.0.5"
}
}