1.0.1 • Published 3 years ago

@ccxc/common v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
3 years ago

XcCommon

This library was generated with Angular CLI version 9.1.13.

Code scaffolding

Run ng generate component component-name --project xc-common to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module --project xc-common.

Note: Don't forget to add --project xc-common or else it will be added to the default project in your angular.json file.

Build

Run ng build xc-common to build the project. The build artifacts will be stored in the dist/ directory.

Publishing

After building your library with ng build xc-common, go to the dist folder cd dist/xc-common and run npm publish.

Running unit tests

Run ng test xc-common to execute the unit tests via Karma.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

本地测试

  • 编译项目
ng build xc-common
  • 生成tgz版本文件,到/dist/xc-common下运行
npm pack
  • 打开一个新的项目,路径为刚刚生成的路径
npm install 路径/文件-1.0.0.tgz
  • 第二次打包后记得使用命令清除缓存
npm cache verify
  • 登录
npm login
  • 发布
npm publish --access public
1.0.1

3 years ago

1.0.0

3 years ago