sasalatart/on-this-day

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "repository": "git@github.com:sasalatart/on-this-day.git",
  "author": "Sebastián Salata R-T <sa.salatart@gmail.com>",
  "license": "MIT",
  "private": true,
  "workspaces": {
    "packages": [
      "packages/shared",
      "packages/server",
      "packages/*"
    ],
    "nohoist": [
      "**/@types/jest",
      "**/@types/mocha",
      "**/@types/cypress",
      "**/cypress",
      "**/jest"
    ]
  },
  "scripts": {
    "lint": "yarn workspaces run lint",
    "lint:md": "yarn markdownlint README.md",
    "clean": "yarn workspaces run clean",
    "build": "yarn workspaces run build",
    "compile:dev": "concurrently \"yarn compile:shared\" \"yarn compile:codegen\"",
    "compile:shared": "yarn workspace @on-this-day/shared compile",
    "compile:codegen": "yarn workspace @on-this-day/server codegen && yarn workspace @on-this-day/client codegen",
    "start": "yarn workspace @on-this-day/server start",
    "console": "yarn workspace @on-this-day/server console",
    "compose": "docker-compose -f ./docker/docker-compose.app.yml -f ./docker/docker-compose.db-dev.yml",
    "compose:scraper": "docker-compose -f ./docker/docker-compose.scraper.yml",
    "compose:test": "docker-compose -f ./docker/docker-compose.app.yml -f ./docker/docker-compose.db-test.yml",
    "dev:up": "yarn compose up",
    "dev:destroy": "yarn compose rm",
    "dev:scraper:up": "yarn compose:scraper up",
    "dev:scraper:destroy": "yarn compose:scraper rm",
    "test:scraper": "yarn compile:shared && yarn workspace @on-this-day/scraper yarn test",
    "test:server": "yarn compile:dev && yarn workspace @on-this-day/server yarn test",
    "test:up": "yarn compose:test up",
    "test:destroy": "yarn compose:test rm",
    "test:e2e": "yarn workspace @on-this-day/client cypress:headless",
    "test:e2e:open": "yarn workspace @on-this-day/client cypress:open"
  },
  "devDependencies": {
    "@on-this-day/eslint-config": "1.0.0",
    "@types/node": "^12.0.0",
    "concurrently": "^5.1.0",
    "markdownlint-cli": "^0.22.0",
    "prettier": "^2.0.1",
    "typescript": "^4.1.3"
  }
}