38 lines
1.6 KiB
JSON
38 lines
1.6 KiB
JSON
{
|
|
"name": "vscode-languageserver-protocol",
|
|
"description": "VSCode Language Server Protocol implementation",
|
|
"version": "3.16.0",
|
|
"author": "Microsoft Corporation",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-languageserver-node.git",
|
|
"directory": "protocol"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
|
|
},
|
|
"main": "./lib/node/main.js",
|
|
"browser": {
|
|
"./lib/node/main.js": "./lib/browser/main.js"
|
|
},
|
|
"typings": "./lib/common/api.d.ts",
|
|
"dependencies": {
|
|
"vscode-jsonrpc": "6.0.0",
|
|
"vscode-languageserver-types": "3.16.0"
|
|
},
|
|
"scripts": {
|
|
"prepublishOnly": "git clean -xfd . && npm install && npm run clean && npm run compile && npm test",
|
|
"postpublish": "node ../build/npm/post-publish.js",
|
|
"preversion": "npm test",
|
|
"compile": "node ../build/bin/tsc -b ./tsconfig.json",
|
|
"watch": "node ../build/bin/tsc -b ./tsconfig-watch.json -w",
|
|
"clean": "node ../node_modules/rimraf/bin.js lib && node ../node_modules/rimraf/bin.js dist",
|
|
"test": "npm run test:node && npm run test:browser",
|
|
"test:node": "node ../node_modules/mocha/bin/_mocha",
|
|
"test:browser": "npm run webpack:test:silent && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/protocol/src/browser/test/",
|
|
"webpack:test": "cd ../types && npm run compile:esm && cd ../protocol && node ../build/bin/webpack --mode none --config ./src/browser/test/webpack.config.js",
|
|
"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"
|
|
}
|
|
}
|