Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Commit

Permalink
fix: publish just lib folder
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Oct 23, 2017
1 parent eec2c0a commit 15556d8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ deployment:
branch: master
commands:
# not every commit is going to be published
- npm run size
- npm run semantic-release || true
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"release": "releaser",
"test": "NODE_ENV=test mocha",
"watch": "NODE_ENV=test mocha --watch",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";"
},
"repository": {
"type": "git",
Expand All @@ -18,6 +19,7 @@
"releasing",
"versioning"
],
"files": ["lib"],
"author": "Loren Norman <[email protected]>",
"license": "MIT",
"bugs": {
Expand Down

0 comments on commit 15556d8

Please sign in to comment.