Skip to content

Commit d6598d7

Browse files
committed
Fix package.json & .npmignore for correct packaging
1 parent 3c6ed71 commit d6598d7

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.npmignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
docs
22
example
33
src
4-
4+
node_modules
5+
etc
6+
lib
7+
*.tgz
8+
.*
59
.*
610
# jsx Transform Disk Cache
711
.module-cache

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33
"author": "Amey Sakhadeo",
44
"version": "0.1.0",
55
"description": "A set of d3 based visualization components built for React",
6-
"main": "./build/index.js",
6+
"main": "build/index.js",
7+
"files": [
8+
"build",
9+
"package.json"
10+
],
11+
712
"scripts": {},
813
"keywords": [
914
"react",

0 commit comments

Comments
 (0)