Skip to content

Commit

Permalink
Merge pull request #53 from sdasda7777/sdasda7777_packagejsontrim
Browse files Browse the repository at this point in the history
chore: Removed unused dependencies from package.json, updated
  • Loading branch information
greendoescode authored Apr 11, 2024
2 parents 3f0e91b + 2c57995 commit 596b4a9
Show file tree
Hide file tree
Showing 4 changed files with 106 additions and 131 deletions.
205 changes: 100 additions & 105 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 2 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,38 +4,18 @@
"description": "Discord rich presence for VLC media player.",
"main": "index.js",
"dependencies": {
"asynckit": "^0.4.0",
"axios": "^1.6.0",
"bindings": "^1.5.0",
"combined-stream": "^1.0.8",
"delayed-stream": "^1.0.0",
"discord-rpc": "^3.2.0",
"encoding": "^0.1.13",
"file-uri-to-path": "^1.0.0",
"follow-redirects": "^1.15.6",
"form-data": "^4.0.0",
"iconv-lite": "^0.6.3",
"discord-rpc": "^4.0.0",
"js-levenshtein": "^1.1.6",
"mime-db": "^1.52.0",
"mime-types": "^2.1.35",
"miniget": "^4.2.2",
"node-addon-api": "^1.7.2",
"node-fetch": "^2.6.7",
"proxy-from-env": "^1.1.0",
"register-scheme": "^0.0.2",
"safer-buffer": "^2.1.2",
"tr46": "^0.0.3",
"vlc.js": "^3.2.7",
"webidl-conversions": "^3.0.1",
"whatwg-url": "^5.0.0",
"ws": "^7.5.9",
"ytsr": "^3.8.0"
},
"devDependencies": {
"@types/node": "^18.11.3"
},
"scripts": {
"start": "node ./src/app.js",
"start": "node --trace-deprecation ./src/app.js",
"test": "node ./src/test.js",
"run": "npm start"
},
Expand Down
6 changes: 3 additions & 3 deletions src/helpers/lager.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
const fs = require('fs');
const os = require('os');
const path = require('path');
const VLC = require('vlc.js');
const { vlc } = require('./configLoader.js').getOrInit('config.js');
const vlcjs = require('vlc.js');
const { config } = require('./configLoader.js').getOrInit('config.js');

const client = new VLC.VLCClient(vlc);
const client = new vlcjs.VLCClient(config);
const destination = path.join(__dirname, '/../../logs/');
const logs = [{
details: {
Expand Down
2 changes: 1 addition & 1 deletion start.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if NOT EXIST node_modules (

if exist node.exe (
ECHO Detected local Node.js executable, attempting to use it...
CALL node.exe src/app.js
CALL node.exe --trace-deprecation src/app.js
) else (
ECHO Did not detect local Node.js executable, attempting to use `npm`...
CALL npm start
Expand Down

0 comments on commit 596b4a9

Please sign in to comment.