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.
239 lines
7.2 KiB
239 lines
7.2 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-devkit/build-angular:application",
|
|
"options": {
|
|
"outputPath": "build",
|
|
"index": "src/index.html",
|
|
"browser": "src/main.ts",
|
|
"polyfills": [
|
|
"zone.js"
|
|
],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"allowedCommonJsDependencies": [
|
|
"@tweenjs/tween.js",
|
|
"client-only",
|
|
"codemirror",
|
|
"codemirror/addon/comment/comment.js",
|
|
"codemirror/addon/hint/show-hint.js",
|
|
"codemirror/addon/fold/brace-fold.js",
|
|
"codemirror/addon/fold/foldgutter.js",
|
|
"codemirror/addon/search/jump-to-line.js",
|
|
"codemirror/addon/search/search.js",
|
|
"codemirror/mode/javascript/javascript.js",
|
|
"copy-to-clipboard",
|
|
"cropperjs",
|
|
"crypto-js",
|
|
"crypto-js/core.js",
|
|
"crypto-js/enc-base64.js",
|
|
"crypto-js/enc-utf8.js",
|
|
"crypto-js/sha256.js",
|
|
"get-value",
|
|
"graphql-ws",
|
|
"markdown-it",
|
|
"mersenne-twister",
|
|
"mousetrap",
|
|
"nullthrows",
|
|
"progressbar.js",
|
|
"react-compiler-runtime",
|
|
"react-dom",
|
|
"react",
|
|
"set-value",
|
|
"slugify",
|
|
"textarea-caret",
|
|
"use-sync-external-store/with-selector"
|
|
],
|
|
"assets": [
|
|
"src/app/assets",
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/tui-code-snippet/dist/",
|
|
"output": "./dependencies/tui-calendar/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/tui-calendar/dist/",
|
|
"output": "./dependencies/tui-calendar/"
|
|
},
|
|
{
|
|
"glob": "vis-network.min.js",
|
|
"input": "./node_modules/vis-network/standalone/umd/",
|
|
"output": "./dependencies/vis-network/"
|
|
},
|
|
{
|
|
"glob": "*.min.*",
|
|
"input": "/node_modules/video.js/dist/",
|
|
"output": "./dependencies/videojs/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/leaflet-control-geocoder/dist/",
|
|
"output": "./dependencies/leaflet/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/leaflet/dist/",
|
|
"output": "./dependencies/leaflet/"
|
|
},
|
|
{
|
|
"glob": "**/*",
|
|
"input": "./node_modules/ace-builds/src-min/",
|
|
"output": "./dependencies/ace/"
|
|
}
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"./src/app/theme"
|
|
],
|
|
"sass": {
|
|
"silenceDeprecations": ["color-functions", "global-builtin", "import"]
|
|
}
|
|
},
|
|
"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",
|
|
"optimization": {
|
|
"scripts": true,
|
|
"styles": {
|
|
"minify": true,
|
|
"inlineCritical": false
|
|
},
|
|
"fonts": true
|
|
}
|
|
},
|
|
"development": {
|
|
"extractLicenses": false,
|
|
"namedChunks": true,
|
|
"optimization": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "squidex:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "squidex:build:development"
|
|
}
|
|
},
|
|
"options": {
|
|
"port": 3000,
|
|
"ssl": true,
|
|
"sslCert": "./../dev/squidex-dev.crt",
|
|
"sslKey": "./../dev/squidex-dev.key"
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"polyfills": [
|
|
"zone.js",
|
|
"zone.js/testing"
|
|
],
|
|
"karmaConfig": "karma.conf.js",
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"assets": [
|
|
"src/favicon.ico",
|
|
"src/assets"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss"
|
|
],
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"./src/app/theme",
|
|
"node_modules"
|
|
]
|
|
},
|
|
"scripts": []
|
|
}
|
|
},
|
|
"storybook": {
|
|
"builder": "@storybook/angular:start-storybook",
|
|
"options": {
|
|
"configDir": ".storybook",
|
|
"browserTarget": "squidex:build",
|
|
"compodoc": false,
|
|
"port": 6006,
|
|
"stylePreprocessorOptions": {
|
|
"includePaths": [
|
|
"./src/app/theme",
|
|
"node_modules"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"builder": "@storybook/angular:build-storybook",
|
|
"options": {
|
|
"configDir": ".storybook",
|
|
"browserTarget": "squidex:build",
|
|
"compodoc": false,
|
|
"outputDir": "storybook-static"
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"src/**/*.ts",
|
|
"src/**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": "a157454d-c7c0-4947-986a-982746edc974",
|
|
"schematicCollections": [
|
|
"@angular-eslint/schematics"
|
|
]
|
|
}
|
|
}
|
|
|