mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
09c9cf8b46
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7668 GitOrigin-RevId: 0ed901780092994ae40c2c57557c5854812a91b2
100 lines
2.9 KiB
JSON
100 lines
2.9 KiB
JSON
{
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "apps/console-ee/src",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build-server-assets": {
|
|
"executor": "@hasura/internal-plugin:build-server-assets",
|
|
"inputs": ["{workspaceRoot}/dist/apps/console-ee/**"],
|
|
"outputs": ["dist/apps/server-assets-console-ee"],
|
|
"dependsOn": ["build"]
|
|
},
|
|
"build": {
|
|
"executor": "@nrwl/web:webpack",
|
|
"outputs": ["{options.outputPath}"],
|
|
"defaultConfiguration": "production",
|
|
"options": {
|
|
"compiler": "babel",
|
|
"outputPath": "dist/apps/console-ee",
|
|
"index": "apps/console-ee/src/index.html",
|
|
"baseHref": "/",
|
|
"main": "apps/console-ee/src/main.tsx",
|
|
"polyfills": "apps/console-ee/src/polyfills.ts",
|
|
"tsConfig": "apps/console-ee/tsconfig.app.json",
|
|
"assets": [
|
|
{
|
|
"glob": "**",
|
|
"input": "apps/console-ee/src/assets/common",
|
|
"output": "common"
|
|
}
|
|
],
|
|
"styles": ["apps/console-ee/src/css/tailwind.css"],
|
|
"scripts": [],
|
|
"webpackConfig": "custom-webpack.config.js",
|
|
"postcssConfig": "apps/console-ee/postcss.config.js"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"outputHashing": "none",
|
|
"extractCss": false,
|
|
"extractLicenses": false,
|
|
"optimization": false,
|
|
"sourceMap": true,
|
|
"vendorChunk": true
|
|
},
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/console-ee/src/environments/environment.ts",
|
|
"with": "apps/console-ee/src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "none",
|
|
"extractCss": false,
|
|
"sourceMap": true,
|
|
"namedChunks": true,
|
|
"generateIndexHtml": true,
|
|
"extractLicenses": true,
|
|
"vendorChunk": true
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nrwl/web:dev-server",
|
|
"defaultConfiguration": "development",
|
|
"options": {
|
|
"buildTarget": "console-ee:build",
|
|
"hmr": true,
|
|
"port": 5500,
|
|
"allowedHosts": "all"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "console-ee:build:development"
|
|
},
|
|
"production": {
|
|
"buildTarget": "console-ee:build:production",
|
|
"hmr": false
|
|
}
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": ["{options.outputFile}"],
|
|
"options": {
|
|
"lintFilePatterns": ["apps/console-ee/**/*.{ts,tsx,js,jsx}"]
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": ["coverage/apps/console-ee"],
|
|
"options": {
|
|
"jestConfig": "apps/console-ee/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|