include only 'bin' and 'dist' folders into package

This commit is contained in:
afrokick 2020-03-20 02:13:56 +03:00
parent 4759ef055f
commit 8e5ba48f6c

View File

@ -6,6 +6,10 @@
"bin": {
"peerjs": "./bin/peerjs"
},
"files": [
"bin/",
"dist/"
],
"repository": {
"type": "git",
"url": "git://github.com/peers/peerjs-server.git"
@ -13,6 +17,7 @@
"author": "Michelle Bu, Eric Zhang",
"license": "MIT",
"scripts": {
"preversion": "npm run clean && npm run build",
"build": "tsc",
"clean": "rimraf ./dist",
"lint": "eslint --ext .js,.ts .",