angular.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "newProjectRoot": "projects",
  5. "projects": {
  6. "icons-angular": {
  7. "projectType": "library",
  8. "root": ".",
  9. "sourceRoot": "src",
  10. "prefix": "lib",
  11. "architect": {
  12. "build": {
  13. "builder": "@angular-devkit/build-angular:ng-packagr",
  14. "options": {
  15. "project": "ng-package.json"
  16. },
  17. "configurations": {
  18. "production": {
  19. "tsConfig": "tsconfig.lib.prod.json"
  20. },
  21. "development": {
  22. "tsConfig": "tsconfig.lib.json"
  23. }
  24. },
  25. "defaultConfiguration": "production"
  26. },
  27. "test": {
  28. "builder": "@angular-devkit/build-angular:karma",
  29. "options": {
  30. "tsConfig": "tsconfig.spec.json",
  31. "polyfills": [
  32. "zone.js",
  33. "zone.js/testing"
  34. ],
  35. "karmaConfig": "karma.conf.js"
  36. }
  37. }
  38. }
  39. }
  40. }
  41. }