0994550933
- Restructure into standard Angular library workspace - Library source in projects/ngx-pretext-table/ - Demo app in src/ using PretextVirtualScrollDirective - Switch @chenglou/pretext dependency to npm registry (^0.0.4) - Fix moduleResolution to "bundler" for Angular 17 compatibility Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
81 lines
2.4 KiB
JSON
81 lines
2.4 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"demo": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss",
|
|
"skipTests": true
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:application",
|
|
"options": {
|
|
"outputPath": "dist/demo",
|
|
"index": "src/index.html",
|
|
"browser": "src/main.ts",
|
|
"polyfills": ["zone.js"],
|
|
"tsConfig": "tsconfig.app.json",
|
|
"assets": ["src/favicon.ico"],
|
|
"styles": ["src/styles.scss"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{ "type": "initial", "maximumWarning": "1mb", "maximumError": "2mb" },
|
|
{ "type": "anyComponentStyle", "maximumWarning": "4kb", "maximumError": "8kb" }
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"configurations": {
|
|
"production": { "buildTarget": "demo:build:production" },
|
|
"development": { "buildTarget": "demo:build:development" }
|
|
},
|
|
"defaultConfiguration": "development"
|
|
}
|
|
}
|
|
},
|
|
"ngx-pretext-table": {
|
|
"projectType": "library",
|
|
"root": "projects/ngx-pretext-table",
|
|
"sourceRoot": "projects/ngx-pretext-table/src",
|
|
"prefix": "lib",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
"options": {
|
|
"project": "projects/ngx-pretext-table/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/ngx-pretext-table/tsconfig.lib.prod.json"
|
|
},
|
|
"development": {
|
|
"tsConfig": "projects/ngx-pretext-table/tsconfig.lib.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|