include only 'bin' and 'dist' folders into package
This commit is contained in:
parent
4759ef055f
commit
8e5ba48f6c
@ -6,6 +6,10 @@
|
|||||||
"bin": {
|
"bin": {
|
||||||
"peerjs": "./bin/peerjs"
|
"peerjs": "./bin/peerjs"
|
||||||
},
|
},
|
||||||
|
"files": [
|
||||||
|
"bin/",
|
||||||
|
"dist/"
|
||||||
|
],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/peers/peerjs-server.git"
|
"url": "git://github.com/peers/peerjs-server.git"
|
||||||
@ -13,6 +17,7 @@
|
|||||||
"author": "Michelle Bu, Eric Zhang",
|
"author": "Michelle Bu, Eric Zhang",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"preversion": "npm run clean && npm run build",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"clean": "rimraf ./dist",
|
"clean": "rimraf ./dist",
|
||||||
"lint": "eslint --ext .js,.ts .",
|
"lint": "eslint --ext .js,.ts .",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user