Skip to content

Commit a42a502

Browse files
authored
Merge pull request #10 from oxygens/master
Added "files" attribute in package.json to play well with packagers like electron-packager.
2 parents 30a5252 + 62b14f1 commit a42a502

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

package.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jsonrpc-bidirectional",
33
"description": "Bidirectional JSONRPC over web sockets or HTTP with extensive plugin support.",
4-
"version": "2.4.12",
4+
"version": "2.5.1",
55
"scripts": {
66
"build": "node build.js",
77
"test": "node tests/main.js",
@@ -57,5 +57,15 @@
5757
"sleep-promise": "^2.0.0",
5858
"uglify-js": "^2.8.22",
5959
"webpack": "^2.4.1"
60-
}
60+
},
61+
"files": [
62+
"builds/browser/es5/jsonrpc.min.js",
63+
"builds/browser/es5/jsonrpc.min.js.map",
64+
"builds/browser/es7/jsonrpc.min.js",
65+
"builds/browser/es7/jsonrpc.min.js.map",
66+
"LICENSE",
67+
"src/*",
68+
"index.js",
69+
"README.MD"
70+
]
6171
}

0 commit comments

Comments
 (0)