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.
69 lines
1.7 KiB
69 lines
1.7 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": "production",
|
|
"options": {
|
|
"root": "apps/website",
|
|
"outputPath": "dist/apps/website"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"outputPath": "apps/website"
|
|
},
|
|
"staging": {},
|
|
"production": {}
|
|
}
|
|
},
|
|
"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": []
|
|
}
|