Skip to content

Commit

Permalink
Fix package.json to include only the needed files
Browse files Browse the repository at this point in the history
Before:

```
> du -sh node_modules/thrift
 28M	node_modules/thrift
```

After:

```
> mkdir -p /tmp/thrift-module
> cp -r node_modules/thrift/lib/nodejs/{lib,README.md} /tmp/thrift-module
> du -sh /tmp/thrift-module
208K	/tmp/thrift-module
```

This closes #672
  • Loading branch information
Jan Krems authored and bufferoverflow committed Nov 8, 2015
1 parent 5b15f8c commit f264884
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
"mail": "[email protected]",
"url": "https://issues.apache.org/jira/browse/THRIFT"
},
"files": [
"lib/nodejs/lib/thrift",
"lib/nodejs/README.md"
],
"directories": {
"lib": "./lib/nodejs/lib/thrift"
},
Expand Down

0 comments on commit f264884

Please sign in to comment.