Skip to content

Commit

Permalink
Excluding stories and things from package publish
Browse files Browse the repository at this point in the history
  • Loading branch information
humphreyja committed Sep 27, 2024
1 parent 393324e commit 5b453d8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
node_modules
.DS_Store
.idea
.history
npm-debug.log
src/**/*.spec.js
src/**/*.stories.jsx
src/**/*.stories.js
dist/**/*.stories.jsx
dist/**/*.stories.js
dist/**/*.spec.js
15 changes: 9 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@harvest-profit/npk",
"version": "0.0.1",
"version": "0.0.2",
"description": "NPK UI Design System",
"source": "src/index.js",
"main": "dist/index.js",
Expand Down Expand Up @@ -34,11 +34,14 @@
"files": [
"LICENSE",
"README.md",
"dist/ApplicationAlert",
"dist/ThemeContext",
"src/ApplicationAlert",
"src/ThemeContext",
"types"
"dist",
"src",
"types",
"!src/**/*.stories.*",
"!dist/**/*.stories.*",
"!src/**/*.spec.*",
"!dist/**/*.spec.*",
"!.eslintrc"
],
"keywords": [
"reactstrap",
Expand Down

0 comments on commit 5b453d8

Please sign in to comment.