1 | {
|
2 | "name": "vscode-languageserver-types",
|
3 | "description": "Types used by the Language server for node",
|
4 | "version": "3.17.3",
|
5 | "author": "Microsoft Corporation",
|
6 | "license": "MIT",
|
7 | "repository": {
|
8 | "type": "git",
|
9 | "url": "https://github.com/Microsoft/vscode-languageserver-node.git",
|
10 | "directory": "types"
|
11 | },
|
12 | "bugs": {
|
13 | "url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
|
14 | },
|
15 | "main": "./lib/umd/main.js",
|
16 | "typings": "./lib/umd/main",
|
17 | "module": "./lib/esm/main.js",
|
18 | "scripts": {
|
19 | "prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
|
20 | "prepack": "npm run all:publish",
|
21 | "compile": "node ../build/bin/tsc -b ./tsconfig.json",
|
22 | "clean": "node ../node_modules/rimraf/bin.js lib",
|
23 | "watch": "node ../build/bin/tsc -b ./tsconfig.watch.json -w",
|
24 | "lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
|
25 | "test": "node ../node_modules/mocha/bin/_mocha",
|
26 | "all": "npm run clean && npm run compile && npm run lint && npm run test",
|
27 | "compile:esm": "node ../build/bin/tsc -b ./tsconfig.esm.publish.json",
|
28 | "compile:umd": "node ../build/bin/tsc -b ./tsconfig.umd.publish.json",
|
29 | "all:publish": "git clean -xfd . && npm install && npm run compile:esm && npm run compile:umd && npm run lint && npm run test",
|
30 | "preversion": "npm test"
|
31 | }
|
32 | }
|