|
|
@ -1,7 +1,7 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"name": "docviewer", |
|
|
|
"name": "doc-viewer", |
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
|
|
|
"$schema": "../../node_modules/nx/schemas/project-schema.json", |
|
|
|
"sourceRoot": "apps/docviewer/src", |
|
|
|
"sourceRoot": "apps/doc-viewer/src", |
|
|
|
"projectType": "application", |
|
|
|
"projectType": "application", |
|
|
|
"implicitDependencies": [ |
|
|
|
"implicitDependencies": [ |
|
|
|
], |
|
|
|
], |
|
|
@ -12,17 +12,17 @@ |
|
|
|
"defaultConfiguration": "development", |
|
|
|
"defaultConfiguration": "development", |
|
|
|
"options": { |
|
|
|
"options": { |
|
|
|
"compiler": "babel", |
|
|
|
"compiler": "babel", |
|
|
|
"outputPath": "dist/apps/docviewer", |
|
|
|
"outputPath": "dist/apps/doc-viewer", |
|
|
|
"index": "apps/docviewer/src/index.html", |
|
|
|
"index": "apps/doc-viewer/src/index.html", |
|
|
|
"baseHref": "/", |
|
|
|
"baseHref": "/", |
|
|
|
"main": "apps/docviewer/src/main.tsx", |
|
|
|
"main": "apps/doc-viewer/src/main.tsx", |
|
|
|
"tsConfig": "apps/docviewer/tsconfig.app.json", |
|
|
|
"tsConfig": "apps/doc-viewer/tsconfig.app.json", |
|
|
|
"assets": [ |
|
|
|
"assets": [ |
|
|
|
"apps/docviewer/src/favicon.ico" |
|
|
|
"apps/doc-viewer/src/favicon.ico" |
|
|
|
], |
|
|
|
], |
|
|
|
"styles": [], |
|
|
|
"styles": [], |
|
|
|
"scripts": [], |
|
|
|
"scripts": [], |
|
|
|
"webpackConfig": "apps/docviewer/webpack.config.js" |
|
|
|
"webpackConfig": "apps/doc-viewer/webpack.config.js" |
|
|
|
}, |
|
|
|
}, |
|
|
|
"configurations": { |
|
|
|
"configurations": { |
|
|
|
"development": { |
|
|
|
"development": { |
|
|
@ -30,8 +30,8 @@ |
|
|
|
"production": { |
|
|
|
"production": { |
|
|
|
"fileReplacements": [ |
|
|
|
"fileReplacements": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
"replace": "apps/docviewer/src/environments/environment.ts", |
|
|
|
"replace": "apps/doc-viewer/src/environments/environment.ts", |
|
|
|
"with": "apps/docviewer/src/environments/environment.prod.ts" |
|
|
|
"with": "apps/doc-viewer/src/environments/environment.prod.ts" |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
@ -41,16 +41,16 @@ |
|
|
|
"executor": "@nrwl/webpack:dev-server", |
|
|
|
"executor": "@nrwl/webpack:dev-server", |
|
|
|
"defaultConfiguration": "development", |
|
|
|
"defaultConfiguration": "development", |
|
|
|
"options": { |
|
|
|
"options": { |
|
|
|
"buildTarget": "docviewer:build", |
|
|
|
"buildTarget": "doc-viewer:build", |
|
|
|
"hmr": true |
|
|
|
"hmr": true |
|
|
|
}, |
|
|
|
}, |
|
|
|
"configurations": { |
|
|
|
"configurations": { |
|
|
|
"development": { |
|
|
|
"development": { |
|
|
|
"buildTarget": "docviewer:build:development", |
|
|
|
"buildTarget": "doc-viewer:build:development", |
|
|
|
"port": 7003 |
|
|
|
"port": 7003 |
|
|
|
}, |
|
|
|
}, |
|
|
|
"production": { |
|
|
|
"production": { |
|
|
|
"buildTarget": "docviewer:build:production" |
|
|
|
"buildTarget": "doc-viewer:build:production" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|