Co-authored-by: Katerina Skroumpelou <mandarini@users.noreply.github.com> Co-authored-by: Colum Ferry <cferry09@gmail.com> Co-authored-by: Emily Xiong <xiongemi@gmail.com> Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com> Co-authored-by: Jason Jean <jasonjean1993@gmail.com> Co-authored-by: Victor Savkin <mail@vsavkin.com> Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
214 lines
6.1 KiB
JSON
214 lines
6.1 KiB
JSON
{
|
|
"project": {
|
|
"name": "myreactapp",
|
|
"type": "app",
|
|
"data": {
|
|
"root": "apps/myreactapp",
|
|
"targets": {
|
|
"build": {
|
|
"options": {
|
|
"cwd": "apps/apps/myreactapp",
|
|
"command": "vite build"
|
|
},
|
|
"cache": true,
|
|
"dependsOn": ["^build"],
|
|
"inputs": [
|
|
"production",
|
|
"^production",
|
|
{
|
|
"externalDependencies": ["vite"]
|
|
}
|
|
],
|
|
"outputs": ["{workspaceRoot}/dist/apps/app1"],
|
|
"executor": "nx:run-commands",
|
|
"configurations": {}
|
|
},
|
|
"serve": {
|
|
"options": {
|
|
"cwd": "apps/apps/myreactapp",
|
|
"command": "vite serve"
|
|
},
|
|
"executor": "nx:run-commands",
|
|
"configurations": {}
|
|
},
|
|
"preview": {
|
|
"options": {
|
|
"cwd": "apps/apps/myreactapp",
|
|
"command": "vite preview"
|
|
},
|
|
"executor": "nx:run-commands",
|
|
"configurations": {}
|
|
},
|
|
"serve-static": {
|
|
"executor": "@nx/web:file-server",
|
|
"options": {
|
|
"buildTarget": "build"
|
|
},
|
|
"configurations": {}
|
|
},
|
|
"test": {
|
|
"options": {
|
|
"cwd": "apps/apps/myreactapp",
|
|
"command": "vitest run"
|
|
},
|
|
"cache": true,
|
|
"inputs": [
|
|
"default",
|
|
"^production",
|
|
{
|
|
"externalDependencies": ["vitest"]
|
|
}
|
|
],
|
|
"outputs": ["{workspaceRoot}/coverage/apps/app1"],
|
|
"executor": "nx:run-commands",
|
|
"configurations": {}
|
|
},
|
|
"lint": {
|
|
"cache": true,
|
|
"options": {
|
|
"cwd": "apps/myreactapp",
|
|
"command": "eslint ."
|
|
},
|
|
"inputs": [
|
|
"default",
|
|
"{workspaceRoot}/.eslintrc.json",
|
|
"{workspaceRoot}/apps/myreactapp/.eslintrc.json",
|
|
"{workspaceRoot}/tools/eslint-rules/**/*",
|
|
{
|
|
"externalDependencies": ["eslint"]
|
|
}
|
|
],
|
|
"executor": "nx:run-commands",
|
|
"configurations": {}
|
|
}
|
|
},
|
|
"name": "myreactapp",
|
|
"$schema": "../../../node_modules/nx/schemas/project-schema.json",
|
|
"sourceRoot": "apps/apps/myreactapp/src",
|
|
"projectType": "application",
|
|
"tags": [],
|
|
"implicitDependencies": []
|
|
}
|
|
},
|
|
"sourceMap": {
|
|
"root": ["apps/myreactapp/project.json", "nx/core/project-json"],
|
|
"targets": ["apps/myreactapp/project.json", "nx/core/project-json"],
|
|
"targets.build": ["apps/myreactapp/vite.config.ts", "@nx/vite/plugin"],
|
|
"targets.build.command": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.build.options": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.build.cache": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.build.dependsOn": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.build.inputs": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.build.outputs": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.build.options.cwd": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.serve": ["apps/myreactapp/vite.config.ts", "@nx/vite/plugin"],
|
|
"targets.serve.command": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.serve.options": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.serve.options.cwd": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.preview": ["apps/myreactapp/vite.config.ts", "@nx/vite/plugin"],
|
|
"targets.preview.command": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.preview.options": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.preview.options.cwd": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.serve-static": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.serve-static.executor": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.serve-static.options": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.serve-static.options.buildTarget": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.test": ["apps/myreactapp/vite.config.ts", "@nx/vite/plugin"],
|
|
"targets.test.command": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.test.options": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.test.cache": ["apps/myreactapp/vite.config.ts", "@nx/vite/plugin"],
|
|
"targets.test.inputs": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.test.outputs": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.test.options.cwd": [
|
|
"apps/myreactapp/vite.config.ts",
|
|
"@nx/vite/plugin"
|
|
],
|
|
"targets.lint": ["apps/myreactapp/project.json", "@nx/eslint/plugin"],
|
|
"targets.lint.command": [
|
|
"apps/myreactapp/project.json",
|
|
"@nx/eslint/plugin"
|
|
],
|
|
"targets.lint.cache": ["apps/myreactapp/project.json", "@nx/eslint/plugin"],
|
|
"targets.lint.options": [
|
|
"apps/myreactapp/project.json",
|
|
"@nx/eslint/plugin"
|
|
],
|
|
"targets.lint.inputs": [
|
|
"apps/myreactapp/project.json",
|
|
"@nx/eslint/plugin"
|
|
],
|
|
"targets.lint.options.cwd": [
|
|
"apps/myreactapp/project.json",
|
|
"@nx/eslint/plugin"
|
|
],
|
|
"name": ["apps/myreactapp/project.json", "nx/core/project-json"],
|
|
"$schema": ["apps/myreactapp/project.json", "nx/core/project-json"],
|
|
"sourceRoot": ["apps/myreactapp/project.json", "nx/core/project-json"],
|
|
"projectType": ["apps/myreactapp/project.json", "nx/core/project-json"],
|
|
"tags": ["apps/myreactapp/project.json", "nx/core/project-json"]
|
|
}
|
|
}
|