后端迁移测试文件
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"build": "tsc -p tsconfig.build.json && rm -rf dist/db/migrations && mkdir -p dist/db && cp -R src/db/migrations dist/db/migrations",
|
||||
"db:migrate": "tsx src/db/migrate.ts",
|
||||
"dev": "tsx watch --clear-screen=false --include config src/index.ts",
|
||||
"test": "node --import tsx --test $(find src -name '*.test.js' -print)",
|
||||
"test": "node --import tsx --test $(find src \\( -name '*.test.ts' -o -name '*.test.js' \\) -print)",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||
"start": "node dist/index.js",
|
||||
"start:src": "tsx src/index.ts"
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
"node_modules",
|
||||
"data",
|
||||
"dist",
|
||||
"src/**/*.test.js"
|
||||
"src/**/*.test.js",
|
||||
"src/**/*.test.ts"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
"node_modules",
|
||||
"data",
|
||||
"src/**/*.test.js",
|
||||
"src/**/*.test.ts",
|
||||
"src/services/platforms/agiso/**/*.js"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user