mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
3.6 KiB
123 lines
3.6 KiB
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"squidex": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
},
|
|
"@schematics/angular:application": {
|
|
"strict": true
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "sqx",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-builders/custom-webpack:browser",
|
|
"options": {
|
|
"outputPath": "build",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"allowedCommonJsDependencies": [
|
|
"angular2-chartjs",
|
|
"pikaday/pikaday",
|
|
"progressbar.js"
|
|
],
|
|
"assets": [
|
|
"src/app/assets"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["./src/app/theme"]
|
|
},
|
|
"customWebpackConfig": {
|
|
"path": "./src/config/webpack.config.js"
|
|
},
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "3000kb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "40kb",
|
|
"maximumError": "80kb"
|
|
}
|
|
],
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"buildOptimizer": false,
|
|
"optimization": false,
|
|
"vendorChunk": true,
|
|
"extractLicenses": false,
|
|
"sourceMap": true,
|
|
"namedChunks": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-builders/custom-webpack:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"browserTarget": "squidex:build:production"
|
|
},
|
|
"development": {
|
|
"browserTarget": "squidex:build:development"
|
|
}
|
|
},
|
|
"options": {
|
|
"port": 3000,
|
|
"ssl": true,
|
|
"sslCert": "./../dev/squidex-dev.crt",
|
|
"sslKey": "./../dev/squidex-dev.key"
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"test": {
|
|
"builder": "@angular-builders/custom-webpack:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
"src/assets"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": ["./src/app/theme"]
|
|
},
|
|
"scripts": []
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"defaultProject": "squidex"
|
|
}
|
|
|