Skip to content

Commit

Permalink
add npmignore
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandra-c committed Aug 6, 2021
1 parent f47fb3d commit 2c7adf3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
run: npm version $(git describe --abbrev=0 --tags) --no-git-tag-version
- run: npm install
- run: npm run build
- run: cd dist
- run: npm publish
- run: npm publish ./leaflet-tracking-marker/dist
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN }}
7 changes: 7 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
node_modules
.babelrc
.eslintrc.json
.prettierrc
src/demo
scripts
.vscode
.github
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "react-leaflet-tracking-marker",
"version": "1.0.4",
"description": "React Leaflet marker that drifts to a certain point, computes its bearing angle using coordinates and rotates accordingly.",
"private": false,
"license": "MIT",
Expand Down

0 comments on commit 2c7adf3

Please sign in to comment.