angular2 工程目录结构介绍

.editorconfig

代码编辑器配置。参见 EditorConfig

.gitignore

指定 Git 要忽略的非跟踪的文件。

angular.json

工作区中所有项目的默认 CLI 配置,包括 CLI 使用的构建选项、运行选项、测试工具选项(比如 TSLintKarmaProtractor)等。欲知详情,参见 Angular 工作区配置

node_modules

提供给整个工作区的 npm 包

package.json

配置用于工作区中所有项目的包依赖项。有关此文件的特有格式和内容,参见 npm 文档

package-lock.json

为 npm 客户端安装到 node_modules 中的所有软件包提供版本信息。详情参见 npm documentation。如果你使用 yarn 客户端,此文件会由 yarn.lock 代替。

tsconfig.json

工作区中所有应用的默认 TypeScript 配置。包括 TypeScript 选项和 Angular 模板编译器选项。参见 TypeScript 配置

tslint.json

工作区中所有应用的默认 TSLint 配置。

README.md

介绍文档

    引用于 https://www.angular.cn/guide/file-structure该文档

猜你喜欢

转载自www.cnblogs.com/kukai/p/10828757.html