Skip to content

Commit

Permalink
update: skips tests script, adds npmrc file, adds repo info on packag…
Browse files Browse the repository at this point in the history
…e.json
  • Loading branch information
sarahcssiqueira committed Aug 8, 2024
1 parent 1bb8770 commit 68b3de8
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
node-version: 20
- run: npm ci
- run: npm test
# - run: npm test

publish-npm:
needs: build
Expand All @@ -30,4 +30,4 @@ jobs:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3 changes: 2 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
src/
.gitignore
.gitignore
.github/workflows
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scroll-bar-indicator",
"version": "1.0.0",
"version": "0.1.0",
"description": "A React component to display scroll position",
"main": "./dist/index.js",
"module": "dist/index.js",
Expand All @@ -11,13 +11,25 @@
"build": "webpack",
"prepublishOnly": "npm run build"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"scroll",
"react",
"component"
],
"author": "Sarah C. Siqueira",
"license": "MIT",
"homepage": "https://github.com/sarahcssiqueira/scroll-bar-indicator/project#readme",
"bugs": {
"url": "https://github.com/sarahcssiqueira/scroll-bar-indicator/project/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sarahcssiqueira/scroll-bar-indicator.git"
},
"peerDependencies": {
"react": "^17.0.0 || ^18.0.0",
"react-dom": "^17.0.0 || ^18.0.0"
Expand Down

0 comments on commit 68b3de8

Please sign in to comment.