UNPKG

2.56 kBJSONView Raw
1{
2 "name": "vscode-languageserver-protocol",
3 "description": "VSCode Language Server Protocol implementation",
4 "version": "3.17.5",
5 "author": "Microsoft Corporation",
6 "license": "MIT",
7 "repository": {
8 "type": "git",
9 "url": "https://github.com/Microsoft/vscode-languageserver-node.git",
10 "directory": "protocol"
11 },
12 "bugs": {
13 "url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
14 },
15 "main": "./lib/node/main.js",
16 "browser": {
17 "./lib/node/main.js": "./lib/browser/main.js"
18 },
19 "typings": "./lib/common/api.d.ts",
20 "dependencies": {
21 "vscode-jsonrpc": "8.2.0",
22 "vscode-languageserver-types": "3.17.5"
23 },
24 "scripts": {
25 "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
26 "prepack": "npm run all:publish",
27 "postpublish": "node ../build/npm/post-publish.js",
28 "preversion": "npm test",
29 "compile": "node ../build/bin/tsc -b ./tsconfig.json",
30 "watch": "node ../build/bin/tsc -b ./tsconfig.watch.json -w",
31 "clean": "node ../node_modules/.bin/rimraf lib && node ../node_modules/.bin/rimraf dist",
32 "lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
33 "test": "npm run test:node && npm run test:browser",
34 "test:node": "node ../node_modules/mocha/bin/_mocha",
35 "test:browser": "npm run webpack:test:silent && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/protocol/src/browser/test/",
36 "webpack:test": "cd ../types && npm run compile:esm && cd ../protocol && node ../build/bin/webpack --mode none --config ./src/browser/test/webpack.config.js",
37 "webpack:test:silent": "cd ../types && npm run compile:esm && cd ../protocol && node ../build/bin/webpack --no-stats --mode none --config ./src/browser/test/webpack.config.js",
38 "compile:metaModelTool": "cd ../tools && npm run compile && cd ../protocol",
39 "generate:metaModel": "node ../tools/lib/generator-main.js -p ./src/common/tsconfig.json > ./metaModel.json",
40 "generate:metaModelSchema": "ts-json-schema-generator --tsconfig ../tools/tsconfig.json --path ../tools/src/metaModel.ts > ./metaModel.schema.json",
41 "all": "npm run clean && npm run compile && npm run lint && npm run test && npm run compile:metaModelTool && npm run generate:metaModel && npm run generate:metaModelSchema",
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 && npm run compile:metaModelTool && npm run generate:metaModel && npm run generate:metaModelSchema"
44 }
45}