graphql-engine/frontend/apps/console-ce/project.json
Nicolas Beaussart 9e04135f98 frontend: pre sync console into nx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7638
GitOrigin-RevId: 8866a609e83e6330786ddc741afcba9d45e1f42e
2023-01-23 22:22:02 +00:00

100 lines
2.9 KiB
JSON

{
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "apps/console-ce/src",
"projectType": "application",
"tags": [],
"targets": {
"build-server-assets": {
"executor": "@hasura/internal-plugin:build-server-assets",
"inputs": ["{workspaceRoot}/dist/apps/console-ce/**"],
"outputs": ["dist/apps/server-assets-console-ce"],
"dependsOn": ["build"]
},
"build": {
"executor": "@nrwl/web:webpack",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"compiler": "babel",
"outputPath": "dist/apps/console-ce",
"index": "apps/console-ce/src/index.html",
"baseHref": "/",
"main": "apps/console-ce/src/main.tsx",
"polyfills": "apps/console-ce/src/polyfills.ts",
"tsConfig": "apps/console-ce/tsconfig.app.json",
"assets": [
{
"glob": "**",
"input": "apps/console-ce/src/assets/common",
"output": "common"
}
],
"styles": [
"apps/console-ce/src/css/tailwind.css"
],
"scripts": [],
"webpackConfig": "custom-webpack.config.js",
"postcssConfig": "apps/console-ce/postcss.config.js"
},
"configurations": {
"development": {
"extractLicenses": false,
"outputHashing": "none",
"extractCss": false,
"optimization": false,
"sourceMap": true,
"vendorChunk": true
},
"production": {
"fileReplacements": [
{
"replace": "apps/console-ce/src/environments/environment.ts",
"with": "apps/console-ce/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "none",
"extractCss": false,
"sourceMap": true,
"namedChunks": true,
"generateIndexHtml": true,
"extractLicenses": false,
"vendorChunk": true
}
}
},
"serve": {
"executor": "@nrwl/web:dev-server",
"defaultConfiguration": "development",
"options": {
"buildTarget": "console-ce:build",
"hmr": true
},
"configurations": {
"development": {
"buildTarget": "console-ce:build:development"
},
"production": {
"buildTarget": "console-ce:build:production",
"hmr": false
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/console-ce/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/console-ce"],
"options": {
"jestConfig": "apps/console-ce/jest.config.ts",
"passWithNoTests": true
}
}
}
}