UnlyEd/next-typescript-api-zeit-boilerplate

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "next-typescript-api",
  "version": "1.0.0",
  "description": "A Next.js starter app.",
  "license": "MIT",
  "scripts": {
    "start": ". ./scripts/populate-git-env.sh && yarn dev",
    "dev": "next dev --port 9999",
    "build": "yarn test:once && next build",
    "next": "next start",
    "deploy:all": "yarn deploy && yarn deploy:production",
    "deploy": "vercel --confirm --local-config=vercel.staging.json --debug",
    "deploy:production": "vercel --confirm --local-config=vercel.production.json --prod --debug",
    "preversion": "yarn doc:toc && yarn lint:once && yarn test:once",
    "release": "yarn bump --prompt --commit --tag && git add CHANGELOG.md README.md && git commit --amend --no-edit && git push && git push --tags",
    "script:populate-git-env:print": ". ./scripts/populate-git-env.sh && echo 'SHA: '${GIT_COMMIT_SHA} && echo 'REF (current branch/tag): '${GIT_COMMIT_REF} && echo 'TAGS: '${GIT_COMMIT_TAGS}",
    "git:getReleasesAndTags": "git tag --points-at HEAD | tr '\\r\\n' ' '",
    "git:getCommitSHA": "git rev-parse HEAD",
    "git:getCommitSHA:short": "git rev-parse --short HEAD",
    "git:getCommitRef": "git symbolic-ref HEAD",
    "doc:toc": "yarn markdown-toc --maxdepth 4 -i README.md",
    "lint": "esw src/** -w --ext .ts --ext .tsx",
    "lint:once": "eslint src/** --ext .ts --ext .tsx",
    "lint:fix": "eslint src/** --ext .ts --ext .tsx --fix",
    "lint:fix:preview": "eslint src/** --ext .ts --ext .tsx --fix-dry-run",
    "test": "NODE_ENV=test jest --watch",
    "test:generate-output": "jest --json --outputFile=.jest-test-results.json || true",
    "test:group:api": "NODE_ENV=test jest --group=api --watchAll",
    "test:group:components": "NODE_ENV=test jest --group=components --watchAll",
    "test:group:integration": "NODE_ENV=test jest --group=integration --watchAll",
    "test:group:unit": "NODE_ENV=test jest --group=unit --watchAll",
    "test:group:utils": "NODE_ENV=test jest --group=utils --watchAll",
    "test:once": "NODE_ENV=test jest --runInBand --detectOpenHandles",
    "test:once:group:no-integration": "NODE_ENV=test jest --group=-integration",
    "test:coverage": "NODE_ENV=test jest --coverage",
    "test:coverage:group:no-integration": "NODE_ENV=test jest --group=-integration --coverage",
    "test:config": "NODE_ENV=test jest --showConfig"
  },
  "dependencies": {
    "@sentry/browser": "7.1.1",
    "@sentry/node": "7.1.1",
    "@unly/utils": "1.0.3",
    "@unly/utils-simple-logger": "1.4.0",
    "isomorphic-unfetch": "3.0.0",
    "lodash.get": "4.4.2",
    "lodash.isarray": "4.0.0",
    "lodash.isempty": "4.4.0",
    "lodash.isplainobject": "4.0.6",
    "lodash.map": "4.6.0",
    "next": "12.1.6",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "winston": "3.2.1"
  },
  "devDependencies": {
    "@next/bundle-analyzer": "12.1.6",
    "@types/jest": "28.1.1",
    "@types/jest-expect-message": "1.0.3",
    "@types/react": "18.0.12",
    "@types/webpack-env": "1.17.0",
    "@typescript-eslint/eslint-plugin": "5.27.1",
    "@typescript-eslint/parser": "5.27.1",
    "@zeit/next-source-maps": "0.0.4-canary.1",
    "concurrently": "5.0.0",
    "cross-env": "6.0.3",
    "dotenv": "16.0.1",
    "eslint": "8.17.0",
    "eslint-plugin-jest": "26.5.3",
    "eslint-plugin-jsx-a11y": "6.5.1",
    "eslint-plugin-react": "7.30.0",
    "eslint-plugin-react-hooks": "4.5.0",
    "eslint-watch": "8.0.0",
    "jest": "26.6.3",
    "jest-expect-message": "1.0.2",
    "jest-extended": "0.11.5",
    "jest-runner-groups": "2.0.1",
    "jest-to-match-shape-of": "1.3.1",
    "markdown-toc": "1.2.0",
    "ts-jest": "26.5.6",
    "typescript": "4.7.3",
    "version-bump-prompt": "5.0.5"
  }
}