project.json 736 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "name": "app-common",
  3. "$schema": "../../node_modules/nx/schemas/project-schema.json",
  4. "sourceRoot": "libs/app-common/src",
  5. "projectType": "library",
  6. "tags": [],
  7. "targets": {
  8. "lint": {
  9. "executor": "@nx/eslint:lint",
  10. "outputs": ["{options.outputFile}"],
  11. "options": {
  12. "lintFilePatterns": ["libs/app-common/**/*.{ts,tsx,js,jsx}"]
  13. }
  14. },
  15. "test": {
  16. "executor": "@nx/jest:jest",
  17. "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
  18. "options": {
  19. "jestConfig": "libs/app-common/jest.config.ts",
  20. "passWithNoTests": true
  21. },
  22. "configurations": {
  23. "ci": {
  24. "ci": true,
  25. "codeCoverage": true
  26. }
  27. }
  28. }
  29. }
  30. }