{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "version": 1, "newProjectRoot": "projects", "projects": { "osf": { "projectType": "application", "schematics": { "@schematics/angular:component": { "style": "scss", "changeDetection": "OnPush" } }, "root": "", "sourceRoot": "src", "prefix": "osf", "architect": { "build": { "builder": "@angular-devkit/build-angular:application", "options": { "outputPath": "dist/osf", "index": "src/index.html", "browser": "src/main.ts", "polyfills": ["zone.js"], "tsConfig": "tsconfig.app.json", "inlineStyleLanguage": "scss", "allowedCommonJsDependencies": [ "qrcode", "cedar-embeddable-editor", "cedar-artifact-viewer", "markdown-it-video", "ace-builds/src-noconflict/ext-language_tools", "@traptitech/markdown-it-katex" ], "assets": [ "src/favicon.ico", "src/assets", { "glob": "**/*", "input": "public" }, { "glob": "**/*", "input": "node_modules/ace-builds/src-min", "output": "./assets/ace-builds/" } ], "styles": [ "src/styles/styles.scss", "node_modules/primeflex/primeflex.css", "node_modules/@fortawesome/fontawesome-free/css/all.min.css", "node_modules/ngx-markdown-editor/assets/highlight.js/agate.min.css" ], "stylePreprocessorOptions": { "includePaths": ["src"] }, "scripts": [ "node_modules/ngx-markdown-editor/assets/highlight.js/highlight.min.js", "node_modules/ngx-markdown-editor/assets/marked.min.js", "src/assets/js/ace/snippetsMarkdown.js" ] }, "configurations": { "production": { "budgets": [ { "type": "initial", "maximumWarning": "9MB", "maximumError": "10MB" }, { "type": "anyComponentStyle", "maximumWarning": "20KB", "maximumError": "25kB" } ], "outputHashing": "all" }, "analyze-bundle": { "sourceMap": true, "outputHashing": "none", "namedChunks": true }, "development": { "optimization": false, "extractLicenses": false, "sourceMap": true, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.development.ts" } ] }, "docker": { "optimization": false, "extractLicenses": false, "sourceMap": true, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.docker.ts" } ] }, "staging": { "optimization": true, "extractLicenses": false, "sourceMap": false, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.staging.ts" } ] }, "test": { "optimization": true, "extractLicenses": false, "sourceMap": false, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.test.ts" } ] }, "test-osf": { "optimization": true, "extractLicenses": false, "sourceMap": false, "fileReplacements": [ { "replace": "src/environments/environment.ts", "with": "src/environments/environment.test-osf.ts" } ] } }, "defaultConfiguration": "production" }, "serve": { "builder": "@angular-devkit/build-angular:dev-server", "configurations": { "production": { "buildTarget": "osf:build:production" }, "development": { "buildTarget": "osf:build:development", "hmr": false }, "docker": { "buildTarget": "osf:build:docker", "hmr": false }, "staging": { "buildTarget": "osf:build:staging", "hmr": false }, "test": { "buildTarget": "osf:build:test", "hmr": false }, "test-osf": { "buildTarget": "osf:build:test-osf", "hmr": false } }, "defaultConfiguration": "development" }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n" }, "test": { "builder": "@angular-devkit/build-angular:jest", "options": { "tsConfig": "tsconfig.spec.json" } }, "lint": { "builder": "@angular-eslint/builder:lint", "options": { "lintFilePatterns": ["src/**/*.ts", "src/**/*.html"] } } } } }, "cli": { "schematicCollections": ["angular-eslint"], "analytics": false } }