change db migration directory
This commit is contained in:
Родитель
6ec5895a85
Коммит
193e68b957
|
@ -81,7 +81,7 @@
|
|||
"start": "source .env && if [[ $MONITOR_V2 == 'true' ]]; then npm start --workspace=src; else npm run build & node server.js; fi;",
|
||||
"dev": "source .env && if [[ $MONITOR_V2 == 'true' ]]; then npm run dev --workspace=src; else nodemon server.js; fi;",
|
||||
"build": "node esbuild.js",
|
||||
"db:migrate": "knex migrate:latest --knexfile db/knexfile.js",
|
||||
"db:migrate": "knex migrate:latest --knexfile src/db/knexfile.js",
|
||||
"docker:build": "docker build -t blurts-server .",
|
||||
"docker:run": "docker run -p 6060:6060 blurts-server",
|
||||
"lint": "npm run lint:css && npm run lint:js",
|
||||
|
@ -90,7 +90,7 @@
|
|||
"fix": "npm run fix:css && npm run fix:js",
|
||||
"fix:js": "eslint . --fix",
|
||||
"fix:css": "stylelint public/css/ --fix",
|
||||
"test:db:migrate": "NODE_ENV=tests knex migrate:latest --knexfile db/knexfile.js --env tests",
|
||||
"test:db:migrate": "NODE_ENV=tests knex migrate:latest --knexfile src/db/knexfile.js --env tests",
|
||||
"test:tests": "NODE_ENV=tests HIBP_THROTTLE_DELAY=1000 HIBP_THROTTLE_MAX_TRIES=3 jest --runInBand --coverage tests/",
|
||||
"test:coveralls": "cat ./coverage/lcov.info | coveralls",
|
||||
"test:integration": "wdio tests/integration/wdio.conf.js",
|
||||
|
|
Загрузка…
Ссылка в новой задаче