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.
97 lines
2.4 KiB
97 lines
2.4 KiB
{
|
|
"name": "website",
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "apps/website",
|
|
"projectType": "application",
|
|
"targets": {
|
|
"build": {
|
|
"executor": "@nrwl/next:build",
|
|
"outputs": [
|
|
"{options.outputPath}"
|
|
],
|
|
"defaultConfiguration": "development",
|
|
"options": {
|
|
"root": "apps/website",
|
|
"outputPath": "dist/apps/website"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/website/environments/environment.ts",
|
|
"with": "apps/website/environments/environment.development.ts"
|
|
}
|
|
],
|
|
"outputPath": "apps/website"
|
|
},
|
|
"staging": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/website/environments/environment.ts",
|
|
"with": "apps/website/environments/environment.staging.ts"
|
|
}
|
|
]
|
|
},
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "apps/website/environments/environment.ts",
|
|
"with": "apps/website/environments/environment.prod.ts"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"executor": "@nrwl/next:server",
|
|
"defaultConfiguration": "development",
|
|
"options": {
|
|
"buildTarget": "website:build",
|
|
"dev": true
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"buildTarget": "website:build:development",
|
|
"dev": true
|
|
},
|
|
"staging": {
|
|
"buildTarget": "website:build:staging",
|
|
"dev": false
|
|
},
|
|
"production": {
|
|
"buildTarget": "website:build:production",
|
|
"dev": false
|
|
}
|
|
}
|
|
},
|
|
"export": {
|
|
"executor": "@nrwl/next:export",
|
|
"options": {
|
|
"buildTarget": "website:build:production"
|
|
}
|
|
},
|
|
"test": {
|
|
"executor": "@nrwl/jest:jest",
|
|
"outputs": [
|
|
"{workspaceRoot}/coverage/{projectRoot}"
|
|
],
|
|
"options": {
|
|
"jestConfig": "apps/website/jest.config.ts",
|
|
"passWithNoTests": true
|
|
}
|
|
},
|
|
"lint": {
|
|
"executor": "@nrwl/linter:eslint",
|
|
"outputs": [
|
|
"{options.outputFile}"
|
|
],
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"apps/website/**/*.{ts,tsx,js,jsx}"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"tags": []
|
|
}
|