|
1 | 1 | {
|
2 | 2 | "name": "demo",
|
3 |
| - "$schema": "../node_modules/nx/schemas/project-schema.json", |
| 3 | + "$schema": "../../node_modules/nx/schemas/project-schema.json", |
4 | 4 | "projectType": "application",
|
5 |
| - "prefix": "demo-context-menu", |
| 5 | + "prefix": "app", |
6 | 6 | "sourceRoot": "apps/demo/src",
|
7 | 7 | "tags": [],
|
8 | 8 | "targets": {
|
9 | 9 | "build": {
|
10 |
| - "executor": "@angular-devkit/build-angular:browser", |
| 10 | + "executor": "@angular-devkit/build-angular:application", |
11 | 11 | "outputs": ["{options.outputPath}"],
|
12 | 12 | "options": {
|
13 |
| - "outputPath": "dist/demo", |
| 13 | + "outputPath": "dist/apps/demo", |
14 | 14 | "index": "apps/demo/src/index.html",
|
15 |
| - "main": "apps/demo/src/main.ts", |
| 15 | + "browser": "apps/demo/src/main.ts", |
16 | 16 | "polyfills": ["zone.js"],
|
17 | 17 | "tsConfig": "apps/demo/tsconfig.app.json",
|
18 |
| - "assets": ["apps/demo/src/favicon.ico", "apps/demo/src/assets"], |
| 18 | + "inlineStyleLanguage": "scss", |
| 19 | + "assets": [ |
| 20 | + { |
| 21 | + "glob": "**/*", |
| 22 | + "input": "apps/demo/public" |
| 23 | + } |
| 24 | + ], |
19 | 25 | "styles": ["apps/demo/src/styles.scss"],
|
20 | 26 | "scripts": []
|
21 | 27 | },
|
|
36 | 42 | "outputHashing": "all"
|
37 | 43 | },
|
38 | 44 | "development": {
|
39 |
| - "buildOptimizer": false, |
40 | 45 | "optimization": false,
|
41 |
| - "vendorChunk": true, |
42 | 46 | "extractLicenses": false,
|
43 |
| - "sourceMap": true, |
44 |
| - "namedChunks": true |
| 47 | + "sourceMap": true |
45 | 48 | }
|
46 | 49 | },
|
47 | 50 | "defaultConfiguration": "production"
|
|
65 | 68 | }
|
66 | 69 | },
|
67 | 70 | "lint": {
|
68 |
| - "executor": "@nx/eslint:lint", |
69 |
| - "outputs": ["{options.outputFile}"], |
70 |
| - "options": { |
71 |
| - "lintFilePatterns": ["apps/demo/**/*.ts", "apps/demo/**/*.html"] |
72 |
| - } |
| 71 | + "executor": "@nx/eslint:lint" |
73 | 72 | },
|
74 | 73 | "test": {
|
75 | 74 | "executor": "@nx/jest:jest",
|
76 | 75 | "outputs": ["{workspaceRoot}/coverage/{projectRoot}"],
|
77 | 76 | "options": {
|
78 | 77 | "jestConfig": "apps/demo/jest.config.ts"
|
79 | 78 | }
|
80 |
| - }, |
81 |
| - "serve-static": { |
82 |
| - "executor": "@nx/web:file-server", |
83 |
| - "options": { |
84 |
| - "buildTarget": "demo:build" |
85 |
| - } |
86 | 79 | }
|
87 | 80 | }
|
88 | 81 | }
|
0 commit comments