angular-cli built-in package 作用

使用angular cli 创建的项目,默认的依赖如下:

"dependencies": {
    "@angular/animations": "~10.1.3",
    "@angular/common": "~10.1.3",   // httpClient; ngClass, ngForOf 等内置指令;DatePipe, JsonPipe 等内置pipe; 等等...
    "@angular/compiler": "~10.1.3",
    "@angular/core": "~10.1.3",   // 基于rxjs的Subject 的EventEmitter 事件发射机制, ErrorHandler基类; change detection 相关逻辑; angular zone;等等...
    "@angular/forms": "~10.1.3",
    "@angular/platform-browser": "~10.1.3",  //封装了浏览器基本的service
    "@angular/platform-browser-dynamic": "~10.1.3", // 使用浏览器core 实例化启动当前APP
    "@angular/router": "~10.1.3",   // router 相关的指令;route 相关的事件钩子;router 状态维护;等等...
    "rxjs": "~6.6.0",    // 响应式变成库,观察者模式
    "tslib": "^2.0.0",   // typescript helper library
    "zone.js": "~0.10.3"  // 异步任务完成后,主动调用变更检测;拦截浏览器原生API; 等等...
  },
"devDependencies": {
    "@angular-devkit/build-angular": "~0.1001.3",
    "@angular/cli": "~10.1.3",
    "@angular/compiler-cli": "~10.1.3",
    "@types/jasmine": "~3.5.0",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "^12.11.1",
    "codelyzer": "^6.0.0",
    "jasmine-core": "~3.6.0",
    "jasmine-marbles": "~0.6.0",
    "jasmine-spec-reporter": "~5.0.0",
    "karma": "~5.0.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage-istanbul-reporter": "~3.0.2",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.5.0",
    "protractor": "~7.0.0",
    "ts-node": "~8.3.0",
    "tslint": "~6.1.0",
    "typescript": "~4.0.3"
  }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值