Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Added npm run shortcuts #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

FGRibreau
Copy link

@FGRibreau FGRibreau commented Mar 2, 2020

Let the dev manage everything through npm scripts. Also added npm run psql:logs

╰─ npm run
Lifecycle scripts included in starter-kit:
  test
    npm run test_db && npm run test_rest && npm run test_graphql

available via `npm run-script`:
  dev
    docker-compose up --force-recreate
  dev:down
    docker-compose down
  psql:logs
    . .env && docker logs -f ${COMPOSE_PROJECT_NAME}_db_1
  test_graphql
    mocha  --no-timeouts --require babel-core/register ./tests/graphql/
  test_rest
    mocha --no-timeouts --require babel-core/register ./tests/rest/
  test_db
    node tests/bin/test_db.js
npm run dev

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant