让调试方便一点(
This commit is contained in:
parent
6972cbf245
commit
b2fc5a3a69
1
.gitignore
vendored
1
.gitignore
vendored
@ -116,4 +116,5 @@ dist
|
||||
.pnp.*
|
||||
|
||||
*.js
|
||||
*.js.map
|
||||
mybotconfig.json
|
||||
|
21
.vscode/launch.json
vendored
Normal file
21
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
{
|
||||
// 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": "pwa-node",
|
||||
"request": "launch",
|
||||
"name": "Launch Program",
|
||||
"skipFiles": [
|
||||
"<node_internals>/**"
|
||||
],
|
||||
"program": "${workspaceFolder}\\index.js",
|
||||
"args": ["-c", "mybotconfig.json"],
|
||||
"outFiles": [
|
||||
"${workspaceFolder}/**/*.js"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
"name": "lanyi-forward-bot",
|
||||
"version": "0.0.1",
|
||||
"description": "用来在 mirai 上跨群转发消息的机器人,虽然很可能已经有人写了但反正我就是想试试!",
|
||||
"main": "index.ts",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"async-mutex": "^0.2.6",
|
||||
"mirai-ts": "^0.8.1",
|
||||
|
@ -12,7 +12,7 @@
|
||||
// "jsx": "preserve", /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */
|
||||
// "declaration": true, /* Generates corresponding '.d.ts' file. */
|
||||
// "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */
|
||||
// "sourceMap": true, /* Generates corresponding '.map' file. */
|
||||
"sourceMap": true, /* Generates corresponding '.map' file. */
|
||||
// "outFile": "./", /* Concatenate and emit output to single file. */
|
||||
// "outDir": "./", /* Redirect output structure to the directory. */
|
||||
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user