explicity list files to be included in npm package

Rather than add everything to the npm package it is better to only add the nessary files.
This commit lists the files to include based on https://docs.npmjs.com/files/package.json#files
This commit is contained in:
Harry Sarson 2018-06-06 11:48:34 +01:00 committed by GitHub
parent e112b43e5b
commit 1c7eeb8e90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,6 +137,11 @@
"zeros": "1.0.0"
},
"main": "./index",
"files": [
"dist",
"lib",
"src",
],
"scripts": {
"build": "gulp",
"watch": "gulp watch",