Skip to content

Commit

Permalink
Merge pull request #5 from jamenamcinteer/more-improvements
Browse files Browse the repository at this point in the history
Update package.json and workflow
jamenamcinteer authored Apr 7, 2021
2 parents 2950b35 + 6f40345 commit 8a1b6d2
Showing 2 changed files with 5 additions and 16 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -28,17 +28,3 @@ jobs:
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,21 @@
{
"name": "react-qr-barcode-scanner",
"version": "1.0.2",
"version": "1.0.3",
"description": "A simple React Component using the client's webcam to read barcodes and QR codes.",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Jamena McInteer (https://jamena.dev)",
"files": [
"dist"
],
"scripts": {
"lint": "eslint ./src --ext .js,.jsx,.ts,.tsx --fix",
"build": "rm -rf dist && tsc --build tsconfig.json",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dashboardphilippines/react-webcam-barcode-scanner.git"
"url": "git+https://github.com/jamenamcinteer/react-qr-barcode-scanner.git"
},
"keywords": [
"react",

0 comments on commit 8a1b6d2

Please sign in to comment.