project.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "$schema": "node_modules/nx/schemas/project-schema.json",
  3. "name": "DnDTools",
  4. "projectType": "application",
  5. "generators": {
  6. "@schematics/angular:component": {
  7. "style": "scss"
  8. }
  9. },
  10. "sourceRoot": "src",
  11. "prefix": "",
  12. "targets": {
  13. "build": {
  14. "executor": "@angular-devkit/build-angular:browser",
  15. "options": {
  16. "outputPath": "dist/dn-dtools",
  17. "index": "src/index.html",
  18. "main": "src/main.ts",
  19. "polyfills": [
  20. "zone.js"
  21. ],
  22. "tsConfig": "tsconfig.app.json",
  23. "inlineStyleLanguage": "scss",
  24. "assets": [
  25. "src/favicon.ico",
  26. "src/assets"
  27. ],
  28. "styles": [
  29. "src/styles.scss"
  30. ],
  31. "scripts": []
  32. },
  33. "configurations": {
  34. "production": {
  35. "budgets": [
  36. {
  37. "type": "initial",
  38. "maximumWarning": "500kb",
  39. "maximumError": "1mb"
  40. },
  41. {
  42. "type": "anyComponentStyle",
  43. "maximumWarning": "2kb",
  44. "maximumError": "4kb"
  45. }
  46. ],
  47. "outputHashing": "all"
  48. },
  49. "development": {
  50. "buildOptimizer": false,
  51. "optimization": false,
  52. "vendorChunk": true,
  53. "extractLicenses": false,
  54. "sourceMap": true,
  55. "namedChunks": true
  56. }
  57. },
  58. "defaultConfiguration": "production",
  59. "outputs": [
  60. "{options.outputPath}"
  61. ]
  62. },
  63. "serve": {
  64. "executor": "@angular-devkit/build-angular:dev-server",
  65. "configurations": {
  66. "production": {
  67. "browserTarget": "DnDTools:build:production"
  68. },
  69. "development": {
  70. "browserTarget": "DnDTools:build:development"
  71. }
  72. },
  73. "defaultConfiguration": "development"
  74. },
  75. "extract-i18n": {
  76. "executor": "@angular-devkit/build-angular:extract-i18n",
  77. "options": {
  78. "browserTarget": "DnDTools:build"
  79. }
  80. },
  81. "test": {
  82. "executor": "@angular-devkit/build-angular:karma",
  83. "options": {
  84. "polyfills": [
  85. "zone.js",
  86. "zone.js/testing"
  87. ],
  88. "tsConfig": "tsconfig.spec.json",
  89. "inlineStyleLanguage": "scss",
  90. "assets": [
  91. "src/favicon.ico",
  92. "src/assets"
  93. ],
  94. "styles": [
  95. "src/styles.scss"
  96. ],
  97. "scripts": []
  98. }
  99. }
  100. }
  101. }