Skip to content

Commit

Permalink
Publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-harding committed Oct 8, 2024
1 parent f4ce71f commit 3cd4a50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "superellipse-squircle",
"private": true,
"version": "0.1.12",
"version": "0.1.13",
"type": "module",
"main": "index.js",
"description": "Smoothest CSS squircles south of Saskatchewan",
Expand Down
8 changes: 8 additions & 0 deletions publish.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env sh

set -e
npm run build
cat package.json | jq "del (.private)" > dist/package.json
cd dist
npm publish
cd -

0 comments on commit 3cd4a50

Please sign in to comment.