Skip to content

Commit

Permalink
fix: publish to npm using semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan DiMascio committed Jul 26, 2020
1 parent 7c20e87 commit 19192a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ deploy:
provider: script
skip_cleanup: true
script:
"npm run release"
"npx semantic-release"
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "to-class",
"version": "0.0.0-semantically-released",
"version": "0.0.0-development",
"description": "Build a string of conditional, deduplicated classNames.",
"main": "dist/index.js",
"files": [
Expand All @@ -13,8 +13,7 @@
"test": "ava --verbose",
"cover": "nyc npm run test",
"cover:report": "nyc report --reporter=text-lcov | coveralls",
"build": "npx rimraf ./dist && rollup -c",
"release": "npx semantic-release pre && npm publish && semantic-release post"
"build": "npx rimraf ./dist && rollup -c"
},
"browserslist": [
"> 1%",
Expand Down

0 comments on commit 19192a8

Please sign in to comment.