vega-frontend-monorepo/apps/stats-mainnet/project.json
Sam Keen 05d53bbf4c
106 - migrate mainnet stats to monorepo (#107)
* Initial commit of generated mainnet-stats directory

* Migration partly complete

* Migration complete

* Vega logo now in ui toolkit

* Specified a port that stops conflicts with other e2e tests

* Extra config for swapping to port that stops conflicts with other e2e tests. Also file name case change

* Adding the Cypress project ID to allow recording

* fix test

* Mainnet stats manager moved into library

* Mainnet stats project now importing manager element from lib

* Block Explorer has mainnet stats on home route

* Styling tweak to stop mainnet stats tables trying to match heights

* Spacing alignment tweaks

* Changing header text and tests to align with other branches

* Correct header test for mainnet-stats app

* Correct h3 test for mainnet-stats app

* Fix linting issue

* fix casing issue for CI

* Corrected mistake in merge

Co-authored-by: Dexter <dexter.edwards93@gmail.com>
2022-03-23 17:40:15 +00:00

75 lines
2.1 KiB
JSON

{
"root": "apps/stats-mainnet",
"sourceRoot": "apps/stats-mainnet/src",
"projectType": "application",
"targets": {
"build": {
"executor": "@nrwl/web:webpack",
"outputs": ["{options.outputPath}"],
"defaultConfiguration": "production",
"options": {
"compiler": "babel",
"outputPath": "dist/apps/stats-mainnet",
"index": "apps/stats-mainnet/src/index.html",
"baseHref": "/",
"main": "apps/stats-mainnet/src/main.tsx",
"polyfills": "apps/stats-mainnet/src/polyfills.ts",
"tsConfig": "apps/stats-mainnet/tsconfig.app.json",
"assets": [
"apps/stats-mainnet/src/assets/favicon.ico",
"apps/stats-mainnet/src/assets"
],
"styles": ["apps/stats-mainnet/src/styles/styles.css"],
"scripts": [],
"webpackConfig": "@nrwl/react/plugins/webpack"
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/stats-mainnet/src/environments/environment.ts",
"with": "apps/stats-mainnet/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false
}
}
},
"serve": {
"executor": "@nrwl/web:dev-server",
"options": {
"port": 3010,
"buildTarget": "stats-mainnet:build",
"hmr": true
},
"configurations": {
"production": {
"buildTarget": "stats-mainnet:build:production",
"hmr": false
}
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["apps/stats-mainnet/**/*.{ts,tsx,js,jsx}"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/apps/stats-mainnet"],
"options": {
"jestConfig": "apps/stats-mainnet/jest.config.js",
"passWithNoTests": true
}
}
},
"tags": []
}