Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewdowns committed Jun 2, 2021
1 parent d71a519 commit 0c4d781
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,16 @@ jobs:
run: npm ci
- name: Build
run: npm run build
- name: Publish NPM package
run: npm publish
working-directory: ./dist
- name: Setup .npmrc
run: |
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
echo "@wardenfinance:registry=https://npm.pkg.github.com" >> .npmrc
echo "access=public"
working-directory: ./dist
- name: Publish package
- name: Publish GitHub package
run: npm publish
working-directory: ./dist

10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# currency
JavaScript library for dealing with different currencies.
JavaScript library for utilizing fiat and crypto currencies.

![Version](https://img.shields.io/github/package-json/v/wardenfinance/currency)
![License](https://img.shields.io/github/license/wardenfinance/currency)
Expand All @@ -8,14 +8,10 @@ JavaScript library for dealing with different currencies.

## Installation

You can install _currency_ via **npm** or **yarn**
Install _@wardenfinance/currency_ via **npm**

```sh
npm install https://github.com/wardenfinance/currency
```

```sh
yarn add https://github.com/wardenfinance/currency
npm install @wardenfinance/currency --save
```

## Usage
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@wardenfinance/currency",
"version": "1.0.0",
"private": true,
"description": "JavaScript library for dealing with different currencies.",
"description": "JavaScript library for utilizing fiat and crypto currencies.",
"main": "dist/index.js",
"scripts": {
"lint": "eslint . --ext .ts",
Expand Down

0 comments on commit 0c4d781

Please sign in to comment.