@vscode/sync-api-common
Version:
An RPC implementation between Web and NodeJS workers that works sync
42 lines • 1.64 kB
JSON
{
"name": "@vscode/sync-api-common",
"version": "0.8.1",
"description": "An RPC implementation between Web and NodeJS workers that works sync",
"engines": {
"node": ">=16.14.2"
},
"main": "./lib/node/main.js",
"browser": {
"./lib/node/main.js": "./lib/browser/main.js"
},
"typings": "./lib/common/api.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/vscode-wasm.git"
},
"keywords": [
"VSCode",
"rpc",
"sync"
],
"author": "Visual Studio Code Team",
"license": "MIT",
"bugs": {
"url": "https://github.com/microsoft/vscode-wasm/issues"
},
"homepage": "https://github.com/microsoft/vscode-wasm/blob/main/sync-api-common/README.md",
"scripts": {
"prepublishOnly": "echo \"⛔ Can only publish from a secure pipeline ⛔\" && node ../build/npm/fail",
"prepack": "git clean -xfd . && npm install && npm run all",
"compile": "node ../node_modules/typescript/lib/tsc.js -b ./tsconfig.json",
"watch": "node ../node_modules/typescript/lib/tsc.js -b ./tsconfig.watch.json -w",
"clean": "node ../node_modules/rimraf/bin.js lib && node ../node_modules/rimraf/bin.js dist",
"lint": "node ../node_modules/eslint/bin/eslint.js --ext ts src",
"esbuild": "node ./bin/esbuild.js",
"test": "npm run test:node && npm run test:browser",
"test:node": "node ../node_modules/mocha/bin/_mocha",
"test:browser": "npm run esbuild && node ../build/bin/runBrowserTests.js http://127.0.0.1:8080/sync-api-common/src/browser/test/",
"test:runServer": "npm run esbuild && node ../build/bin/runServer.js",
"all": "npm run clean && npm run compile && npm run lint && npm run test"
}
}