Files
Danil Somsikov 058b9d879d Add lit-analyzer and run it as a part of lint check
Bug: 370734442
No-Presubmit: true
Change-Id: I7021b801e5bacd4ed33643651a53b8db20ccf8b0
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5898986
Commit-Queue: Danil Somsikov <dsv@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
2024-10-07 12:41:05 +00:00

40 lines
1.4 KiB
JSON

{
"name": "vscode-languageserver-textdocument",
"description": "A simple text document implementation for Node LSP servers",
"version": "1.0.12",
"author": "Microsoft Corporation",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-languageserver-node.git",
"directory": "textDocument"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-languageserver-node/issues"
},
"main": "./lib/umd/main.js",
"typings": "./lib/umd/main",
"exports": {
".": {
"browser": "./lib/esm/main.js",
"module": "./lib/esm/main.js",
"import": "./lib/esm/main.js",
"default": "./lib/umd/main.js"
}
},
"scripts": {
"prepublishOnly": "echo \"\u26d4 Can only publish from a secure pipeline \u26d4\" && node ../build/npm/fail",
"prepack": "npm run all:publish",
"compile": "tsc -b ./tsconfig.json",
"clean": "rimraf lib",
"watch": "tsc -b ./tsconfig.watch.json -w",
"lint": "eslint --ext ts src",
"test": "node ../node_modules/mocha/bin/_mocha",
"all": "npm run clean && npm run compile && npm run lint && npm run test",
"compile:esm": "tsc -b ./tsconfig.esm.publish.json && node ../build/bin/fix-esm",
"compile:umd": "tsc -b ./tsconfig.umd.publish.json",
"all:publish": "git clean -xfd . && npm install && npm run compile:esm && npm run compile:umd && npm run lint && npm run test",
"preversion": "npm test"
}
}