2022-04-20 19:37:44 +00:00
|
|
|
{
|
2023-07-04 11:01:25 +00:00
|
|
|
"name": "governance",
|
2022-08-31 04:35:46 +00:00
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
2023-02-28 18:56:29 +00:00
|
|
|
"sourceRoot": "apps/governance/src",
|
2022-04-20 19:37:44 +00:00
|
|
|
"projectType": "application",
|
|
|
|
"targets": {
|
|
|
|
"build": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/webpack:webpack",
|
2022-04-20 19:37:44 +00:00
|
|
|
"outputs": ["{options.outputPath}"],
|
|
|
|
"defaultConfiguration": "production",
|
|
|
|
"options": {
|
|
|
|
"compiler": "babel",
|
2023-02-28 18:56:29 +00:00
|
|
|
"outputPath": "dist/apps/governance",
|
|
|
|
"index": "apps/governance/src/index.html",
|
2022-04-20 19:37:44 +00:00
|
|
|
"baseHref": "/",
|
2023-02-28 18:56:29 +00:00
|
|
|
"main": "apps/governance/src/main.tsx",
|
|
|
|
"polyfills": "apps/governance/src/polyfills.ts",
|
|
|
|
"tsConfig": "apps/governance/tsconfig.app.json",
|
|
|
|
"assets": [
|
|
|
|
"apps/governance/src/favicon.ico",
|
|
|
|
"apps/governance/src/assets"
|
|
|
|
],
|
|
|
|
"styles": ["apps/governance/src/styles.css"],
|
2022-04-20 19:37:44 +00:00
|
|
|
"scripts": [],
|
2023-02-28 18:56:29 +00:00
|
|
|
"webpackConfig": "apps/governance/webpack.config.js"
|
2022-04-20 19:37:44 +00:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
2023-02-28 18:56:29 +00:00
|
|
|
"replace": "apps/governance/src/environments/environment.ts",
|
|
|
|
"with": "apps/governance/src/environments/environment.prod.ts"
|
2022-04-20 19:37:44 +00:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/webpack:dev-server",
|
2022-04-20 19:37:44 +00:00
|
|
|
"options": {
|
|
|
|
"port": 4210,
|
2023-02-28 18:56:29 +00:00
|
|
|
"buildTarget": "governance:build:development",
|
2022-04-20 19:37:44 +00:00
|
|
|
"hmr": true
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
2023-02-28 18:56:29 +00:00
|
|
|
"buildTarget": "governance:build:production",
|
2022-04-20 19:37:44 +00:00
|
|
|
"hmr": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/linter:eslint",
|
2022-04-20 19:37:44 +00:00
|
|
|
"outputs": ["{options.outputFile}"],
|
|
|
|
"options": {
|
2023-02-28 18:56:29 +00:00
|
|
|
"lintFilePatterns": ["apps/governance/**/*.{ts,tsx,js,jsx}"]
|
2022-04-20 19:37:44 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "@nx/jest:jest",
|
|
|
|
"outputs": ["{workspaceRoot}/coverage/apps/governance"],
|
2022-04-20 19:37:44 +00:00
|
|
|
"options": {
|
2023-02-28 18:56:29 +00:00
|
|
|
"jestConfig": "apps/governance/jest.config.ts",
|
2022-04-20 19:37:44 +00:00
|
|
|
"passWithNoTests": true
|
2023-07-04 11:01:25 +00:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"ci": {
|
|
|
|
"ci": true,
|
|
|
|
"codeCoverage": true
|
|
|
|
}
|
2022-04-20 19:37:44 +00:00
|
|
|
}
|
2022-04-26 14:32:23 +00:00
|
|
|
},
|
|
|
|
"build-netlify": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "nx:run-commands",
|
2022-04-26 14:32:23 +00:00
|
|
|
"options": {
|
|
|
|
"commands": [
|
2023-02-28 18:56:29 +00:00
|
|
|
"cp apps/governance/netlify.toml netlify.toml",
|
2022-04-26 14:32:23 +00:00
|
|
|
"nx build token"
|
|
|
|
]
|
|
|
|
}
|
2022-10-25 07:41:16 +00:00
|
|
|
},
|
|
|
|
"build-spec": {
|
2023-07-04 11:01:25 +00:00
|
|
|
"executor": "nx:run-commands",
|
2022-10-25 07:41:16 +00:00
|
|
|
"outputs": [],
|
|
|
|
"options": {
|
2023-02-28 18:56:29 +00:00
|
|
|
"command": "yarn tsc --project ./apps/governance/tsconfig.spec.json"
|
2022-10-25 07:41:16 +00:00
|
|
|
}
|
2022-04-20 19:37:44 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"tags": []
|
|
|
|
}
|