mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-27 18:52:57 +00:00
update npm scripts to add a migration apply one
This commit is contained in:
1 parent
18f0f0e280
commit
616972909b
1 file changed
+2
-1
+2
-1
@@ -24,7 +24,8 @@
|
||||
"generate:openapi": "node scripts/openapi.js",
|
||||
"add:license": "node scripts/license.js",
|
||||
"migrate-from-staging": "node -r dotenv/config -r module-alias/register scripts/stagingMigration/index.js",
|
||||
"node:tests": "npm run build:src:tsgo && node -r dotenv/config -r module-alias/register --enable-source-maps --test --experimental-test-coverage dist/**/*.test.js"
|
||||
"node:tests": "npm run build:src:tsgo && node -r dotenv/config -r module-alias/register --enable-source-maps --test --experimental-test-coverage dist/**/*.test.js",
|
||||
"apply:migrations": "node --enable-source-maps dist/apply-migrations.js"
|
||||
},
|
||||
"main": "dist/bundle/index.js",
|
||||
"types": "src/bundle/index.ts",
|
||||
|
||||
Reference in new issue
Block a user