Skip to content

Commit

Permalink
Improve publish format
Browse files Browse the repository at this point in the history
  • Loading branch information
denisstasyev committed Mar 2, 2022
1 parent 5e1489d commit 9cd2699
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,5 @@ dist
.npmrc

.DS_Store

Skeleton.svelte
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
{
"name": "svelte-skeleton",
"version": "1.3.0",
"version": "1.3.1",
"description": "Simple implementation of SVG skeletons in Svelte 3",
"main": "dist/index.js",
"module": "dist/index.mjs",
"files": [
"dist/*"
"dist/*",
"Skeleton.svelte"
],
"scripts": {
"build": "rollup -c & cp ./src/Skeleton.svelte ./dist/Skeleton.svelte",
"build": "rollup -c & cp ./src/Skeleton.svelte ./Skeleton.svelte",
"format": "prettier --write 'src/**/*'",
"prepublishOnly": "npm run format & npm run build"
},
Expand All @@ -35,4 +36,4 @@
"rollup-plugin-svelte": "latest",
"svelte": "latest"
}
}
}

0 comments on commit 9cd2699

Please sign in to comment.