add schemasync

This commit is contained in:
NoriDev 2023-10-22 02:23:07 +09:00
parent 303cefff17
commit 11564f1c22
2 changed files with 4 additions and 2 deletions

View file

@ -40,7 +40,8 @@
"test-and-coverage": "pnpm -r test-and-coverage",
"clean": "node ./scripts/clean.js",
"clean-all": "node ./scripts/clean-all.js",
"cleanall": "pnpm clean-all"
"cleanall": "pnpm clean-all",
"schemasync": "cd packages/backend && pnpm typeorm schema:sync -d ormconfig.js"
},
"resolutions": {
"chokidar": "3.5.3",

View file

@ -23,7 +23,8 @@
"jest-and-coverage": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --coverage --forceExit",
"jest-clear": "cross-env NODE_ENV=test node --experimental-vm-modules --experimental-import-meta-resolve node_modules/jest/bin/jest.js --clearCache",
"test": "pnpm jest",
"test-and-coverage": "pnpm jest-and-coverage"
"test-and-coverage": "pnpm jest-and-coverage",
"schemasync": "pnpm typeorm schema:sync -d ormconfig.js"
},
"optionalDependencies": {
"@swc/core-android-arm64": "1.3.11",