forked from AverageHelper/Gamgee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
118 lines (118 loc) · 4.5 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
{
"name": "gamgee",
"version": "2.1.1",
"description": "A Discord bot for managing a song request queue.",
"private": true,
"scripts": {
"start": "NODE_ENV=development ./node_modules/.bin/nodemon --inspect dist/server.js",
"setup": "rm -r dist && npm ci && npm run export-version && npm run build:only --production && 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 --production",
"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/ts-node -P 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 --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_modules/.bin/jest",
"test:src:watch": "npm run test:src -- --watch --coverage=false",
"test:e2e": "./node_modules/.bin/concurrently -kn bot,mocha -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-mocha; ./node_modules/.bin/prisma migrate reset --force && node .",
"_test:e2e": "TS_NODE_PROJECT='./tsconfig.e2e.json' ./node_modules/.bin/mocha"
},
"main": "./dist/server.js",
"type": "commonjs",
"engines": {
"node": ">=16.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": "1.0.1",
"@prisma/client": "4.10.1",
"cross-fetch": "3.1.5",
"discord.js": "14.9.0",
"dotenv": "16.0.1",
"htmlmetaparser": "2.1.2",
"htmlparser2": "8.0.1",
"humanize-duration": "3.27.2",
"lodash": "4.17.21",
"soundcloud-scraper": "5.0.3",
"source-map-support": "0.5.21",
"superstruct": "1.0.3",
"type-fest": "3.6.1",
"winston": "3.8.1",
"winston-daily-rotate-file": "4.7.1",
"yargs": "17.5.1",
"ytdl-core": "4.11.3"
},
"devDependencies": {
"@rollup/plugin-commonjs": "22.0.2",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "14.1.0",
"@types/chai": "4.3.3",
"@types/humanize-duration": "3.27.1",
"@types/jest": "28.1.6",
"@types/lodash": "4.14.182",
"@types/mocha": "9.1.1",
"@types/node": "16.9.6",
"@types/semver": "7.3.12",
"@types/source-map-support": "0.5.4",
"@typescript-eslint/eslint-plugin": "5.54.1",
"@typescript-eslint/parser": "5.54.1",
"chai": "4.3.6",
"concurrently": "7.2.2",
"esbuild": "0.17.15",
"eslint": "8.35.0",
"eslint-config-prettier": "8.7.0",
"eslint-config-strictest": "0.6.0",
"eslint-plugin-deprecation": "1.3.3",
"eslint-plugin-file-progress": "1.3.0",
"eslint-plugin-jest": "27.2.1",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "46.0.0",
"genversion": "3.1.1",
"jest": "28.1.3",
"jest-environment-node": "28.1.3",
"jest-extended": "3.0.1",
"keep-a-changelog": "2.1.0",
"leaked-handles": "5.2.0",
"mocha": "10.0.0",
"nodemon": "2.0.19",
"prettier": "2.8.4",
"prisma": "4.10.1",
"rollup": "2.79.0",
"rollup-plugin-analyzer": "4.0.0",
"rollup-plugin-esbuild": "5.0.0",
"rollup-plugin-visualizer": "5.8.1",
"semver": "7.3.7",
"ts-jest": "28.0.7",
"ts-node": "10.9.1",
"typescript": "4.9.5"
}
}