Angular 应用的DevDependencies
官網(wǎng)地址:https://angular.io/guide/npm-packages
一個Hello World級別的Angular應用的DevDependencies:
"devDependencies": {"@angular-devkit/build-angular": "~0.1000.5","@angular/cli": "~10.0.5","@angular/compiler-cli": "~10.0.6","@types/node": "^12.11.1","@types/jasmine": "~3.5.0","@types/jasminewd2": "~2.0.3","codelyzer": "^6.0.0","jasmine-core": "~3.5.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": "~3.3.0","karma-jasmine-html-reporter": "^1.5.0","protractor": "~7.0.0","ts-node": "~8.3.0","tslint": "~6.1.0","typescript": "~3.9.5"}使用下列的命令行添加DevDependencies:
- npm install --save-dev
- yarn add --dev
默認的Angular應用DevDependencies:
-
@angular?devkit/
build?angular: The Angular build tools. -
@angular/cli: The Angular CLI tools.
-
@angular/
compiler?cli: The Angular compiler, which is invoked by the Angular CLI’s ng build and ng serve commands. -
@types/…:TypeScript definition files for 3rd party libraries such as Jasmine and Node.js.
-
jasmine/… : Packages to support the Jasmine test library.
-
karma/… : Packages to support the karma test runner.
-
protractor : An end-to-end (e2e) framework for Angular apps. Built on top of WebDriverJS.
-
ts-node: TypeScript execution environment and REPL for Node.js.
-
tslint: A static analysis tool that checks TypeScript code for readability, maintainability, and functionality errors.
-
typescript: The TypeScript language server, including the tsc TypeScript compiler.
總結
以上是生活随笔為你收集整理的Angular 应用的DevDependencies的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 阴阳师八岐大蛇阵容搭配
- 下一篇: 中软国际推出新款工业中控屏:15 英寸