Files
openproject/frontend/angular.json
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

220 lines
6.3 KiB
JSON
Raw Normal View History

2020-06-17 20:30:34 +02:00
{
2018-05-04 16:52:38 +02:00
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"OpenProject": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "sass"
}
},
2018-05-04 16:52:38 +02:00
"root": "",
"sourceRoot": "src",
"architect": {
"build": {
2025-06-23 20:33:12 +01:00
"builder": "@angular-builders/custom-esbuild:application",
2018-05-04 16:52:38 +02:00
"options": {
"plugins": ["./esbuild/plugins.ts"],
2020-07-30 10:11:01 +02:00
"allowedCommonJsDependencies": [
"dom-plane",
"pako",
"moment-timezone",
"observable-array",
"dragula",
"jquery",
"contra/emitter",
"crossvent",
"create-point-cb",
"core-vendor/enjoyhint",
2025-08-19 12:33:12 +01:00
"tablesorter"
2020-07-30 10:11:01 +02:00
],
2018-06-19 14:20:37 +02:00
"preserveSymlinks": true,
2025-06-23 20:26:06 +01:00
"outputPath": {
"base": "../public/assets/frontend",
"browser": ""
},
"index": false,
2025-06-23 20:26:06 +01:00
"browser": "src/main.ts",
"polyfills": ["src/polyfills.ts"],
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "sass",
2020-06-29 08:17:42 +02:00
"assets": [
"src/assets"
],
2018-05-04 16:52:38 +02:00
"styles": [
2023-07-31 13:36:18 +02:00
{
"input": "src/spot.scss",
"bundleName": "spot"
},
{
"input": "src/backlogs.scss",
"bundleName": "backlogs"
},
{
"input": "node_modules/@blocknote/mantine/src/style.css",
"bundleName": "blocknote"
},
"src/styles.scss",
"node_modules/codemirror/lib/codemirror.css",
"src/vendor/jquery-ui-1.14.1/jquery-ui.css",
"src/vendor/jquery-ui-1.14.1/jquery-ui.structure.css",
"src/vendor/jquery-ui-1.14.1/jquery-ui.theme.css",
"node_modules/flatpickr/dist/flatpickr.min.css"
2018-05-04 16:52:38 +02:00
],
2019-02-18 15:59:54 +01:00
"stylePreprocessorOptions": {
"includePaths": [
"src/assets/sass"
],
"sass": {
"silenceDeprecations": [
"color-functions",
"global-builtin",
"import"
]
}
2019-02-18 15:59:54 +01:00
},
"scripts": [
{
"input": "node_modules/jquery/dist/jquery.min.js",
"inject": false,
"bundleName": "jquery"
},
{
"input": "node_modules/openapi-explorer/dist/browser/openapi-explorer.min.js",
"inject": false,
"bundleName": "openapi-explorer"
}
]
2018-05-04 16:52:38 +02:00
},
"configurations": {
"production": {
2020-02-12 19:42:01 +01:00
"budgets": [
{
"type": "anyComponentStyle",
"maximumWarning": "6kB"
2020-02-12 19:42:01 +01:00
}
],
2018-06-19 14:20:37 +02:00
"preserveSymlinks": true,
"optimization": {
"scripts" : false,
"styles" : true,
"fonts" : true
},
2018-05-04 16:52:38 +02:00
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
2025-08-20 16:29:31 +01:00
],
"define": { "process.env.NODE_ENV": "'production'" }
2023-08-07 14:31:42 +02:00
},
"development": {
"optimization": false,
"extractLicenses": false,
2025-08-20 16:29:31 +01:00
"sourceMap": true,
"define": { "process.env.NODE_ENV": "'development'" }
}
},
"defaultConfiguration": "production"
2018-05-04 16:52:38 +02:00
},
"serve": {
2025-06-23 20:33:12 +01:00
"builder": "@angular-builders/custom-esbuild:dev-server",
2018-05-04 16:52:38 +02:00
"options": {
"servePath": "/assets/frontend"
2018-05-04 16:52:38 +02:00
},
"configurations": {
"production": {
2024-04-15 20:35:45 +02:00
"buildTarget": "OpenProject:build:production"
},
"development": {
"buildTarget": "OpenProject:build:development",
"proxyConfig": "src/proxy.conf.mjs",
"headers": {
"Access-Control-Allow-Origin": "*"
}
2018-05-04 16:52:38 +02:00
}
},
"defaultConfiguration": "development"
2018-05-04 16:52:38 +02:00
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
2024-04-15 20:35:45 +02:00
"buildTarget": "OpenProject:build"
2018-05-04 16:52:38 +02:00
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"preserveSymlinks": true,
2018-05-04 16:52:38 +02:00
"main": "src/test.ts",
"karmaConfig": "./karma.conf.js",
"tsConfig": "tsconfig.spec.json",
2018-05-04 16:52:38 +02:00
"scripts": [],
2020-06-30 07:50:54 +02:00
"styles": [],
"stylePreprocessorOptions": {
"includePaths": [
"src/assets/sass/"
]
},
2018-05-04 16:52:38 +02:00
"assets": []
}
},
"lint": {
2021-03-05 21:34:26 +01:00
"builder": "@angular-eslint/builder:lint",
2018-05-04 16:52:38 +02:00
"options": {
2021-03-05 21:34:26 +01:00
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
2018-05-04 16:52:38 +02:00
}
}
}
}
},
"schematics": {
"@schematics/angular:component": {
2021-03-24 17:51:14 +01:00
"prefix": "op",
"style": "sass",
"changeDetection": "OnPush",
"skipTests": true,
2025-07-22 19:14:48 +01:00
"flat": true,
"type": "component"
2018-05-04 16:52:38 +02:00
},
"@schematics/angular:directive": {
2021-03-24 17:51:14 +01:00
"prefix": "op",
2025-07-22 19:14:48 +01:00
"skipTests": true,
"type": "directive"
},
"@schematics/angular:service": {
"type": "service"
},
"@schematics/angular:guard": {
"typeSeparator": "."
},
"@schematics/angular:interceptor": {
"typeSeparator": "."
},
"@schematics/angular:module": {
"typeSeparator": "."
},
"@schematics/angular:pipe": {
"typeSeparator": "."
},
"@schematics/angular:resolver": {
"typeSeparator": "."
2018-05-04 16:52:38 +02:00
}
2020-06-17 20:30:34 +02:00
},
"cli": {
2023-05-16 20:46:34 +02:00
"analytics": false,
"cache": {
"environment": "all"
}
2018-05-04 16:52:38 +02:00
}
2020-07-10 14:15:34 +02:00
}