chore(global): install more deps and add debugging stuff for VS Code
Also updated the gitignore file to ignore npm stuff if people chose to do `npm install` themselves. Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
be85d12555
commit
cc9004b433
|
@ -13,3 +13,7 @@
|
|||
# State files
|
||||
rpcState.json
|
||||
gameStatus.json
|
||||
|
||||
# npm stuff
|
||||
package-lock.json
|
||||
node_modules
|
||||
|
|
|
@ -10,3 +10,6 @@ RUN wget "https://discord.com/api/download?platform=linux&format=tar.gz" -O /tmp
|
|||
# Then install Xfce4 goodies and deps for Electron-based apps
|
||||
RUN sudo install-packages xfce4 xfce4-goodies libnss3 xubuntu-default-settings xubuntu-icon-theme firefox dbus dbus-x11 libgbm-dev
|
||||
ENV WINDOW_MANAGER=startxfce4
|
||||
|
||||
# Finally install HTTPie for testing API endpoints
|
||||
RUN brew update && brew install httpie hadolint
|
13
.gitpod.yml
13
.gitpod.yml
|
@ -5,8 +5,19 @@
|
|||
image:
|
||||
file: .gitpod.Dockerfile
|
||||
tasks:
|
||||
- name: Start Discord
|
||||
- name: Discord
|
||||
# This script will be run during workspac startup to ensure that your
|
||||
before: |
|
||||
if [[ ! -d "/workspace/.discordappdata" ]]; then
|
||||
mkdir /workspace/.discordappdata
|
||||
fi
|
||||
ln -s /workspace/.discordappdata ~/.config/discord
|
||||
command: ~/.local/lib/discord/Discord
|
||||
ports:
|
||||
# VNC server
|
||||
- port: 5900
|
||||
onOpen: ignore
|
||||
# Ignore Discord's RPC local server for Rich Presence
|
||||
- port: 6463-6472
|
||||
onOpen: ignore
|
||||
visibility: private
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Launch via Yarn",
|
||||
"runtimeExecutable": "yarn",
|
||||
"cwd": "${workspaceFolder}",
|
||||
"runtimeArgs": ["start:debug"],
|
||||
"port": 5858
|
||||
}
|
||||
]
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
],
|
||||
"dependencies": {
|
||||
"discord-rpc": "^4.0.1",
|
||||
"discord-auto-rpc": "^1.0.16",
|
||||
"express": "^4.17.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -21,12 +21,14 @@
|
|||
"commitizen": "^4.2.4",
|
||||
"commitlint": "^16.2.3",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"nodemon": "^2.0.15",
|
||||
"pm2": "^5.2.0",
|
||||
"typescript": "^4.6.2"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
"commit": "cz --signoff"
|
||||
"commit": "cz --signoff",
|
||||
"start:debug": "node --inspect-brk=5858 app.js"
|
||||
},
|
||||
"license": "MIT",
|
||||
"version": "0.1.0",
|
||||
|
|
Loading…
Reference in New Issue