aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephyrrus <[email protected]>2020-07-02 02:49:30 +0300
committerZephyrrus <[email protected]>2020-07-02 02:49:30 +0300
commitf0753e1551a4291ed122994ad389ec863d9c93e5 (patch)
tree85b6aa1164ef3d004cf9d92ea845a3521a264ddb
parentchore: change nuxt.config to generate proper source-maps for vscode debugging (diff)
downloadhost.fuwn.me-f0753e1551a4291ed122994ad389ec863d9c93e5.tar.xz
host.fuwn.me-f0753e1551a4291ed122994ad389ec863d9c93e5.zip
chore: add compound launcher and basic prettier
-rw-r--r--.prettierrc11
-rw-r--r--.vscode/launch.json50
2 files changed, 61 insertions, 0 deletions
diff --git a/.prettierrc b/.prettierrc
new file mode 100644
index 0000000..3088cdc
--- /dev/null
+++ b/.prettierrc
@@ -0,0 +1,11 @@
+{
+ "trailingComma": "none",
+ "tabWidth": 4,
+ "semi": true,
+ "singleQuote": true,
+ "endOfLine": "lf",
+ "bracketSpacing": true,
+ "useTabs": true,
+ "printWidth": 120,
+ "jsxBracketSameLine": false
+}
diff --git a/.vscode/launch.json b/.vscode/launch.json
new file mode 100644
index 0000000..41b434e
--- /dev/null
+++ b/.vscode/launch.json
@@ -0,0 +1,50 @@
+{
+ // 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": "[DEV] Launch API",
+ "skipFiles": ["<node_internals>/**"],
+ "program": "${workspaceFolder}\\src\\api\\structures\\Server"
+ },
+ {
+ "type": "node",
+ "request": "launch",
+ "name": "[DEV] Launch ThumbGen",
+ "skipFiles": ["<node_internals>/**"],
+ "program": "${workspaceFolder}\\src\\api\\generateThumbs"
+ },
+ {
+ "type": "chrome",
+ "request": "launch",
+ "name": "client: chrome",
+ "url": "http://localhost:8070",
+ "webRoot": "${workspaceFolder}"
+ },
+ {
+ "type": "node",
+ "request": "launch",
+ "name": "server: nuxt",
+ "args": ["dev"],
+ "osx": {
+ "program": "${workspaceFolder}/node_modules/.bin/nuxt"
+ },
+ "linux": {
+ "program": "${workspaceFolder}/node_modules/.bin/nuxt"
+ },
+ "windows": {
+ "program": "${workspaceFolder}/node_modules/nuxt/bin/nuxt.js"
+ }
+ }
+ ],
+ "compounds": [
+ {
+ "name": "fullstack: nuxt",
+ "configurations": ["server: nuxt", "client: chrome"]
+ }
+ ]
+}