0.8.1 • Published 8 months ago

ost-generate v0.8.1

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

Generate

This library was generated with Angular CLI version 15.0.0.

Code scaffolding

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

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

Build

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

Publishing

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

Running unit tests

Run ng test generate 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 Overview and Command Reference page.

备注

发布:package.json修改版本号 ng build generate-lib cd publish npm publish

使用

切换私库地址:npm config set registry http://192.168.18.238:4873/ 安装: npm i ost-generate

0.8.1

8 months ago