subzero-starter-kit
subzero-starter-kit copied to clipboard
Added npm run shortcuts
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