From f7cfc51a9f4364c80d43329e8e604aff00e89e2a Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Thu, 20 Apr 2017 15:52:51 +0200 Subject: [PATCH] [pkg] Remove .npmignore in favor of `files` package.json field --- .npmignore | 7 ------- package.json | 22 ++++++++++++---------- 2 files changed, 12 insertions(+), 17 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 1b22cd04a..000000000 --- a/.npmignore +++ /dev/null @@ -1,7 +0,0 @@ -coverage/ -examples/ -bench/ -build/ -test/ -doc/ -.* diff --git a/package.json b/package.json index 4a0fe0083..fc3bb4a7e 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,7 @@ { - "author": "Einar Otto Stangvik (http://2x.io)", "name": "ws", - "description": "simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455", + "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js", "version": "1.1.4", - "license": "MIT", - "main": "index.js", "keywords": [ "Hixie", "HyBi", @@ -14,10 +11,16 @@ "WebSockets", "real-time" ], - "repository": { - "type": "git", - "url": "git://github.com/websockets/ws.git" - }, + "homepage": "https://github.com/websockets/ws", + "bugs": "https://github.com/websockets/ws/issues", + "repository": "websockets/ws", + "author": "Einar Otto Stangvik (http://2x.io)", + "license": "MIT", + "main": "index.js", + "files": [ + "index.js", + "lib" + ], "scripts": { "test": "make test" }, @@ -35,6 +38,5 @@ "should": "8.0.x", "tinycolor": "0.0.x", "utf-8-validate": "1.2.x" - }, - "gypfile": true + } }