UNPKG

@guanghechen/mini-copy

Version:

Access system clipboard (also support to share clipboard in wsl with windows).

56 lines 1.53 kB
{ "name": "@guanghechen/mini-copy", "version": "6.1.0", "description": "Access system clipboard (also support to share clipboard in wsl with windows).", "author": { "name": "guanghechen", "url": "https://github.com/guanghechen/" }, "repository": { "type": "git", "url": "https://github.com/guanghechen/node-scaffolds/tree/@guanghechen/mini-copy@6.0.5", "directory": "packages/mini-copy" }, "homepage": "https://github.com/guanghechen/node-scaffolds/tree/@guanghechen/mini-copy@6.0.5/packages/mini-copy#readme", "keywords": [ "clipboard", "wsl" ], "type": "module", "exports": { ".": { "source": "./src/index.ts", "import": "./lib/esm/index.mjs", "require": "./lib/cjs/index.cjs", "types": "./lib/types/index.d.ts" } }, "source": "./src/index.ts", "main": "./lib/cjs/index.cjs", "module": "./lib/esm/index.mjs", "types": "./lib/types/index.d.ts", "license": "MIT", "engines": { "node": ">= 20.0.0" }, "files": [ "lib/", "!lib/**/*.map", "package.json", "CHANGELOG.md", "LICENSE", "README.md" ], "dependencies": { "@guanghechen/invariant": "^7.0.2", "@guanghechen/reporter": "^3.3.0", "clipboardy": "5.3.1", "@guanghechen/exec": "^1.1.0", "@guanghechen/fs": "^1.1.0" }, "scripts": { "build": "rollup -c ../../rollup.config.mjs", "clean": "rimraf lib", "watch": "cross-env NODE_ENV=development ROLLUP_SHOULD_SOURCEMAP=true rollup -c ../../rollup.config.mjs -w" } }