Skip to content

Commit

Permalink
Added npmignore to cut down on package size. (#371)
Browse files Browse the repository at this point in the history
From around 600KB to 147KB
```
npm notice
npm notice 📦  [email protected]
npm notice === Tarball Contents ===
npm notice 1.6kB  package.json
npm notice 1.1kB  LICENSE
npm notice 2.3kB  README.md
npm notice 364B   zetta_runtime.js
npm notice 11.5kB zetta.js
npm notice 2.6kB  lib/api_formats/siren/device.siren.js
npm notice 1.0kB  lib/api_formats/siren/devices.siren.js
npm notice 1.1kB  lib/api_formats/siren/metadata.siren.js
npm notice 2.3kB  lib/api_formats/siren/server.siren.js
npm notice 733B   lib/api_formats/siren/type.siren.js
npm notice 820B   lib/api_resources/devices.js
npm notice 10.3kB lib/api_resources/peer_management.js
npm notice 9.6kB  lib/api_resources/root.js
npm notice 14.6kB lib/api_resources/servers.js
npm notice 554B   lib/device_registry.js
npm notice 11.3kB lib/event_broker.js
npm notice 7.2kB  lib/event_socket.js
npm notice 683B   lib/http_scout.js
npm notice 16.6kB lib/http_server.js
npm notice 2.6kB  lib/logger.js
npm notice 5.7kB  lib/peer_client.js
npm notice 1.5kB  lib/peer_registry.js
npm notice 10.4kB lib/peer_socket.js
npm notice 5.2kB  lib/pubsub_service.js
npm notice 771B   lib/query_topic.js
npm notice 392B   lib/query.js
npm notice 1.9kB  lib/registration_resource.js
npm notice 3.5kB  lib/registry.js
npm notice 10.2kB lib/runtime.js
npm notice 358B   lib/spdy_agent.js
npm notice 5.3kB  lib/virtual_device.js
npm notice 2.8kB  lib/web_socket.js
npm notice === Tarball Details ===
npm notice name:          zetta
npm notice version:       1.5.1
npm notice package size:  34.8 kB
npm notice unpacked size: 146.7 kB
npm notice shasum:        0cc2f0d39ea371a3cf57bd652904b90df674046c
npm notice integrity:     sha512-Xk4m5/rKH9Fk0[...]hGsCFx7zw8sOA==
npm notice total files:   32
npm notice
```
  • Loading branch information
AdamMagaluk authored Dec 8, 2018
1 parent 0e6840f commit ff8b197
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ zetta-runtime-jscoverage
.registry
.peers
.devices
.vscode
21 changes: 21 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
*.swo
*.swp
.DS_Store
.tern-port
argo-HEAD
argo-jscoverage
registry.json
*~
*.log
*.heapsnapshot
zetta-runtime-HEAD
zetta-runtime-jscoverage
.registry
.peers
.devices
.travis.yml
.vscode

test/
bin/
example/

0 comments on commit ff8b197

Please sign in to comment.