|
| 1 | +{ |
| 2 | + "name": "graphiql-console", |
| 3 | + "$schema": "../../node_modules/nx/schemas/project-schema.json", |
| 4 | + "sourceRoot": "packages/graphiql-console/src", |
| 5 | + "projectType": "library", |
| 6 | + "tags": ["scope:feature", "scope:graphiql"], |
| 7 | + "targets": { |
| 8 | + "clean": { |
| 9 | + "executor": "nx:run-commands", |
| 10 | + "options": { |
| 11 | + "command": "pnpm rimraf dist/ ../app/assets/graphiql", |
| 12 | + "cwd": "packages/graphiql-console" |
| 13 | + } |
| 14 | + }, |
| 15 | + "build": { |
| 16 | + "inputs": [ |
| 17 | + "{projectRoot}/src/**/*", |
| 18 | + "{projectRoot}/index.html", |
| 19 | + "{projectRoot}/package.json", |
| 20 | + "{projectRoot}/vite.config.ts", |
| 21 | + "{projectRoot}/tsconfig.json" |
| 22 | + ], |
| 23 | + "outputs": ["{workspaceRoot}/packages/app/assets/graphiql"], |
| 24 | + "executor": "nx:run-commands", |
| 25 | + "options": { |
| 26 | + "command": "pnpm vite build", |
| 27 | + "cwd": "packages/graphiql-console" |
| 28 | + } |
| 29 | + }, |
| 30 | + "lint": { |
| 31 | + "executor": "nx:run-commands", |
| 32 | + "options": { |
| 33 | + "command": "pnpm eslint src tests", |
| 34 | + "cwd": "packages/graphiql-console" |
| 35 | + } |
| 36 | + }, |
| 37 | + "lint:fix": { |
| 38 | + "executor": "nx:run-commands", |
| 39 | + "options": { |
| 40 | + "command": "pnpm eslint src tests --fix", |
| 41 | + "cwd": "packages/graphiql-console" |
| 42 | + } |
| 43 | + }, |
| 44 | + "dev": { |
| 45 | + "executor": "nx:run-commands", |
| 46 | + "options": { |
| 47 | + "command": "pnpm vite dev", |
| 48 | + "cwd": "packages/graphiql-console" |
| 49 | + } |
| 50 | + } |
| 51 | + } |
| 52 | +} |
0 commit comments