UNPKG

@vscode/sync-api-common

Version:

An RPC implementation between Web and NodeJS workers that works sync

44 lines 1.8 kB
{ "name": "@vscode/sync-api-common", "version": "0.9.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": "npm run all:publish", "compile": "node ../node_modules/typescript/lib/tsc.js -b ./tsconfig.json", "compile:publish": "node ../node_modules/typescript/lib/tsc.js -b ./tsconfig.publish.json", "watch": "node ../node_modules/typescript/lib/tsc.js -b ./tsconfig.watch.json -w", "clean": "node ../node_modules/.bin/rimraf lib && node ../node_modules/.bin/rimraf dist", "lint": "node ../node_modules/eslint/bin/eslint.js 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", "all:publish": "git clean -xfd . && npm install && npm run compile:publish && npm run lint && npm run test" } }