Skip to content

Commit

Permalink
build(npm): publish dist directory properly
Browse files Browse the repository at this point in the history
  • Loading branch information
akoushke committed Aug 6, 2019
1 parent ba98e39 commit 2e0641e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*
!dist/*
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.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
"type": "git",
"url": "https://github.com/webex/components.git"
},
"publishConfig": {
"tag": "latest",
"access": "public"
},
"author": "[email protected]",
"license": "MIT",
"peerDependencies": {
Expand Down Expand Up @@ -97,7 +101,9 @@
"outputName": "results.xml"
},
"commitlint": {
"extends": ["@commitlint/config-conventional"]
"extends": [
"@commitlint/config-conventional"
]
},
"husky": {
"hooks": {
Expand Down
7 changes: 1 addition & 6 deletions release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ module.exports = {
},
},
],
[
'@semantic-release/npm',
{
tarballDir: 'dist',
},
],
'@semantic-release/npm',
[
'@semantic-release/github',
{
Expand Down

0 comments on commit 2e0641e

Please sign in to comment.