Skip to content

Commit

Permalink
Reduce bundle size with better npm file whitelisting
Browse files Browse the repository at this point in the history
  • Loading branch information
mnkhouri committed Jan 19, 2020
1 parent a6fd922 commit 1758799
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .npmignore

This file was deleted.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-circular-slider-svg",
"version": "0.1.4",
"version": "0.1.5",
"description": "A circular slider React component",
"keywords": [
"react",
Expand All @@ -14,6 +14,9 @@
],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist/"
],
"scripts": {
"prepublishOnly": "npm test && npm run build && sleep 3 && (test -z \"$(git status --porcelain)\" || (echo \\\\n\\\\nuntracked changes, exiting! && git status --porcelain && exit 1))",
"postpublish": "PACKAGE_VERSION=$(echo 'const p = require(\"./package.json\"); process.stdout.write(p.version)' | node) && git tag v$PACKAGE_VERSION && git push --tags",
Expand Down

0 comments on commit 1758799

Please sign in to comment.