318 lines
9.8 KiB
JSON
318 lines
9.8 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"glitchtip-frontend": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:application": {
|
|
"strict": true
|
|
},
|
|
"@schematics/angular:component": {
|
|
"style": "scss",
|
|
"changeDetection": "OnPush"
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "gt",
|
|
"i18n": {
|
|
"sourceLocale": "en-US",
|
|
"locales": {
|
|
"fr": {
|
|
"translation": "src/locale/messages.fr.xlf"
|
|
},
|
|
"nb": {
|
|
"translation": "src/locale/messages.nb.xlf"
|
|
}
|
|
}
|
|
},
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"outputPath": {
|
|
"base": "dist/glitchtip-frontend"
|
|
},
|
|
"index": "src/index.html",
|
|
"polyfills": ["@angular/localize/init"],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/assets",
|
|
"output": "static/assets"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/sdk-docs",
|
|
"output": "static/sdk-docs"
|
|
},
|
|
{
|
|
"glob": "**/*+(.svg|_48x48.png)",
|
|
"input": "./node_modules/@browser-logos/",
|
|
"output": "./static/assets/images/browser-svgs"
|
|
},
|
|
{
|
|
"glob": "**/*.png",
|
|
"input": "./node_modules/@egoistdeveloper/operating-system-logos/src/48x48/",
|
|
"output": "./static/assets/images/os-logos"
|
|
}
|
|
],
|
|
"styles": ["src/styles.scss"],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["./src/assets/styles", "", "."]
|
|
},
|
|
"scripts": [],
|
|
"browser": "src/main.ts"
|
|
},
|
|
"configurations": {
|
|
"prod-no-static": {
|
|
"outputHashing": "all"
|
|
},
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "1mb",
|
|
"maximumError": "2mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "3kb",
|
|
"maximumError": "6kb"
|
|
}
|
|
],
|
|
"optimization": {
|
|
"styles": {
|
|
"inlineCritical": false
|
|
}
|
|
},
|
|
"outputHashing": "all",
|
|
"sourceMap": true,
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets",
|
|
"src/sdk-docs",
|
|
{
|
|
"glob": "**/*+(.svg|_48x48.png)",
|
|
"input": "./node_modules/@browser-logos/",
|
|
"output": "./assets/images/browser-svgs"
|
|
},
|
|
{
|
|
"glob": "**/*.png",
|
|
"input": "./node_modules/@egoistdeveloper/operating-system-logos/src/48x48/",
|
|
"output": "./assets/images/os-logos"
|
|
}
|
|
]
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true,
|
|
"namedChunks": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular/build:dev-server",
|
|
"options": {
|
|
"proxyConfig": "src/proxy.conf.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "glitchtip-frontend:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "glitchtip-frontend:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "ng-extract-i18n-merge:ng-extract-i18n-merge",
|
|
"options": {
|
|
"format": "xlf2",
|
|
"outputPath": "src/locale",
|
|
"targetFiles": [
|
|
"../locale/messages.fr.xlf",
|
|
"../locale/messages.nb.xlf"
|
|
],
|
|
"buildTarget": "glitchtip-frontend:build",
|
|
"prettyNestedTags": true,
|
|
"sort": "stableAppendNew"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular/build:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": [],
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
|
"styles": ["src/styles.scss"],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["./src/assets/styles"]
|
|
},
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
|
|
}
|
|
},
|
|
"storybook": {
|
|
"builder": "@storybook/angular:start-storybook",
|
|
"options": {
|
|
"configDir": ".storybook",
|
|
"browserTarget": "glitchtip-frontend:build",
|
|
"compodoc": false,
|
|
"port": 6006,
|
|
"styles": ["src/styles.scss", ".storybook/preview-styles.scss"],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["src/assets/styles"]
|
|
}
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"builder": "@storybook/angular:build-storybook",
|
|
"options": {
|
|
"configDir": ".storybook",
|
|
"browserTarget": "glitchtip-frontend:build",
|
|
"compodoc": false,
|
|
"outputDir": "dist/storybook/glitchtip-frontend",
|
|
"styles": ["src/styles.scss", ".storybook/preview-styles.scss"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"marketing": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/marketing",
|
|
"sourceRoot": "projects/marketing/src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"outputPath": "dist/marketing",
|
|
"index": "projects/marketing/src/index.html",
|
|
"browser": "projects/marketing/src/main.ts",
|
|
"polyfills": ["zone.js", "@angular/localize/init"],
|
|
"tsConfig": "projects/marketing/tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "projects/marketing/public"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "src/sdk-docs",
|
|
"output": "static/sdk-docs"
|
|
}
|
|
],
|
|
"styles": ["projects/marketing/src/styles.scss"],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["./src/assets/styles", ""]
|
|
},
|
|
"scripts": [],
|
|
"server": "projects/marketing/src/main.server.ts",
|
|
"prerender": {
|
|
"discoverRoutes": true,
|
|
"routesFile": "projects/marketing/routes.txt"
|
|
},
|
|
"ssr": {
|
|
"entry": "projects/marketing/server.ts"
|
|
}
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "500kB",
|
|
"maximumError": "1MB"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kB",
|
|
"maximumError": "4kB"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular/build:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "marketing:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "marketing:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular/build:extract-i18n",
|
|
"options": {
|
|
"prettyNestedTags": true,
|
|
"sort": "stableAppendNew"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular/build:karma",
|
|
"options": {
|
|
"polyfills": [],
|
|
"tsConfig": "projects/marketing/tsconfig.spec.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "projects/marketing/public"
|
|
}
|
|
],
|
|
"styles": ["projects/marketing/src/styles.scss"],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"projects/marketing/**/*.ts",
|
|
"projects/marketing/**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": "86390919-7a40-4e23-8811-d61b83438874",
|
|
"schematicCollections": ["@angular-eslint/schematics"]
|
|
}
|
|
}
|