1 | {
|
2 | "name": "vscode-jsonrpc",
|
3 | "description": "A json rpc implementation over streams",
|
4 | "version": "8.2.1",
|
5 | "author": "Microsoft Corporation",
|
6 | "license": "MIT",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "https://github.com/Microsoft/vscode-languageserver-node.git",
|
10 | "directory": "jsonrpc"
|
11 | },
|
12 | "bugs": {
|
13 | "url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
|
14 | },
|
15 | "engines": {
|
16 | "node": ">=14.0.0"
|
17 | },
|
18 | "main": "./lib/node/main.js",
|
19 | "browser": {
|
20 | "./lib/node/main.js": "./lib/browser/main.js"
|
21 | },
|
22 | "typings": "./lib/common/api.d.ts",
|
23 | "devDependencies": {
|
24 | "@types/msgpack-lite": "^0.1.7",
|
25 | "msgpack-lite": "^0.1.26"
|
26 | },
|
27 | "scripts": {
|
28 | "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
|
29 | "prepack": "npm run all:publish",
|
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/.bin/rimraf lib && node ../node_modules/.bin/rimraf dist",
|
34 | "lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
|
35 | "test": "npm run test:node && npm run test:browser",
|
36 | "test:node": "node ../node_modules/mocha/bin/_mocha",
|
37 | "test:browser": "npm run webpack:test:silent && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/jsonrpc/src/browser/test/",
|
38 | "webpack": "node ../build/bin/webpack --mode none --config ./webpack.config.js",
|
39 | "webpack:test": "node ../build/bin/webpack --mode none --config ./src/browser/test/webpack.config.js",
|
40 | "webpack:test:silent": "node ../build/bin/webpack --no-stats --mode none --config ./src/browser/test/webpack.config.js",
|
41 | "all": "npm run clean && npm run compile && npm run lint && npm run test",
|
42 | "compile:publish": "node ../build/bin/tsc -b ./tsconfig.publish.json",
|
43 | "all:publish": "git clean -xfd . && npm install && npm run compile:publish && npm run lint && npm run test"
|
44 | }
|
45 | }
|