2 "name": "vscode-jsonrpc",
3 "description": "A json rpc implementation over streams",
5 "author": "Microsoft Corporation",
9 "url": "https://github.com/Microsoft/vscode-languageserver-node.git",
10 "directory": "jsonrpc"
13 "url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
16 "node": ">=8.0.0 || >=10.0.0"
18 "main": "./lib/node/main.js",
20 "./lib/node/main.js": "./lib/browser/main.js"
22 "typings": "./lib/common/api.d.ts",
24 "@types/msgpack-lite": "^0.1.7",
25 "msgpack-lite": "^0.1.26"
28 "prepublishOnly": "git clean -xfd . && npm install && npm run clean && npm run compile && npm test",
29 "postpublish": "node ../build/npm/post-publish.js",
30 "preversion": "npm test",
31 "compile": "node ../build/bin/tsc -b ./tsconfig.json",
32 "watch": "node ../build/bin/tsc -b ./tsconfig-watch.json -w",
33 "clean": "node ../node_modules/rimraf/bin.js lib && node ../node_modules/rimraf/bin.js dist",
34 "test": "npm run test:node && npm run test:browser",
35 "test:node": "node ../node_modules/mocha/bin/_mocha",
36 "test:browser": "npm run webpack:test:silent && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/jsonrpc/src/browser/test/",
37 "webpack": "node ../build/bin/webpack --mode none --config ./webpack.config.js",
38 "webpack:test": "node ../build/bin/webpack --mode none --config ./src/browser/test/webpack.config.js",
39 "webpack:test:silent": "node ../build/bin/webpack --no-stats --mode none --config ./src/browser/test/webpack.config.js"