Skip to content

Commit

Permalink
Add script to publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Zefling committed Jul 26, 2022
1 parent 2e9d340 commit 6a169ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,8 +332,7 @@ For IE11, see [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-pony

```
npm run build:lib
cd dist/ng-select2-component
npm publish
npm run publish:lib
```

## Update Demo
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"build": "ng build",
"build:lib": "ng build ng-select2-component --configuration production && cp *.md dist/ng-select2-component",
"build:demo": "ng build ng-select2",
"publish:lib": "npm publish dist/ng-select2-component",
"test": "ng test",
"lint": "ng lint ng-select2-component",
"e2e": "ng e2e"
Expand Down

0 comments on commit 6a169ad

Please sign in to comment.