diff --git a/.eslintrc.js b/.eslintrc.js index 5c90923..e2534a3 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -55,6 +55,7 @@ module.exports = { "@typescript-eslint/no-unused-vars": "off", "no-control-regex": "off", "no-eval": "off", - "no-unused-expressions": "off" + "no-unused-expressions": "off", + "import/order": "off" } }; diff --git a/.gitignore b/.gitignore index 94fd8de..7c27bda 100644 --- a/.gitignore +++ b/.gitignore @@ -1,15 +1,14 @@ node_modules -.vscode audio chrome data fonts icon img -js +js/* movies save Game.rpgproject package-lock.json -/ts/plugins -*.code-workspace +*.rar +!js/plugins.js \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..8776363 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + // 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": "nwjs", + "request": "launch", + "name": "Launch NWjs with Build", + "nwjsVersion": "any", + "webRoot": "${workspaceFolder}", + "reloadAfterAttached": false, + "preLaunchTask": "tsc: build - tsconfig.json" + }, + { + "type": "nwjs", + "request": "launch", + "name": "Launch NWjs", + "nwjsVersion": "any", + "webRoot": "${workspaceFolder}", + "reloadAfterAttached": false + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..6beee12 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,23 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "type": "typescript", + "tsconfig": "tsconfig.json", + "problemMatcher": ["$tsc"], + "options": { + "shell": { + "executable": "powershell.exe" + } + } + }, + { + "type": "typescript", + "tsconfig": "tsconfig.json", + "option": "watch", + "problemMatcher": ["$tsc-watch"] + } + ] +} diff --git a/index.html b/index.html index 090ad82..0bb9452 100644 --- a/index.html +++ b/index.html @@ -11,12 +11,15 @@ -