UNPKG

@nx/vite

Version:

The Nx Plugin for building and testing applications using Vite

48 lines (47 loc) 1.3 kB
{ "name": "my-test-mixed-react-app", "$schema": "../../node_modules/nx/schemas/project-schema.json", "root": "apps/my-test-mixed-react-app", "sourceRoot": "apps/my-test-mixed-react-app/src", "projectType": "application", "targets": { "invalid-build": { "executor": "@nx/js:tsc", "outputs": ["{options.outputPath}"] }, "valid-build": { "executor": "@nx/webpack:webpack", "outputs": ["{options.outputPath}"] }, "serve": { "executor": "@nx/webpack:dev-server", "defaultConfiguration": "development", "options": { "buildTarget": "my-test-mixed-react-app:build", "hmr": true }, "configurations": { "development": { "buildTarget": "my-test-mixed-react-app:build:development" }, "production": { "buildTarget": "my-test-mixed-react-app:build:production", "hmr": false } } }, "lint": { "executor": "@nx/eslint:lint", "outputs": ["{options.outputFile}"] }, "test": { "executor": "@nx/jest:jest", "outputs": ["{workspaceRoot}/coverage/{projectRoot}"], "options": { "jestConfig": "apps/my-test-mixed-react-app/jest.config.ts", "passWithNoTests": true } } }, "tags": [] }