simple-mac-clipboard
Version:
simple mac clipboard for node & electron
110 lines (109 loc) • 2.96 kB
JSON
{
"name": "simple-mac-clipboard",
"version": "1.1.4",
"description": "simple mac clipboard for node & electron",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./build/*": "./build/*"
},
"files": [
"src-addon/",
"src-ts/",
"dist/",
"binding.gyp",
"package.json",
"README.md"
],
"binary": {
"host": "https://cdn.jsdelivr.net/gh/magicdawn/prebuild-binary@master",
"remote_path": "files/{name}/v{version}",
"napi_versions": [
3
]
},
"scripts": {
"dev": "tsup --watch",
"dev:generate-compile_commands": "bear -- node-gyp rebuild",
"install": "prebuild-install -r napi || npm run build:addon",
"build:addon": "node-gyp rebuild",
"build:js": "tsup",
"build": "conc npm:build:*",
"test": "electron-mocha",
"prepublishOnly": "pnpm build && pnpm test",
"test-with-debug": "npm run build:addon --debug && electron-mocha",
"test-cover": "npm run test && nyc --reporter=lcov --reporter=text mocha",
"report-cover": "codecov",
"gen-readme": "swig render ./readme/readme.md > README.md && prettier --write README.md"
},
"keywords": [
"clip",
"clipboard",
"mac-clipboard"
],
"author": "magicdawn",
"license": "MIT",
"dependencies": {
"bindings": "^1.5.0",
"node-addon-api": "^8.3.0",
"node-gyp": "^11.0.0",
"prebuild-install": "^7.1.2"
},
"devDependencies": {
"@magicdawn/eslint-config": "latest",
"@magicdawn/prettier-config": "latest",
"@types/bindings": "^1.5.5",
"@types/node": "^22.10.5",
"codecov": "^3.8.3",
"concurrently": "^9.1.2",
"electron": "^33.3.1",
"electron-mocha": "^13.0.1",
"electron-rebuild": "^3.2.9",
"eslint": "^9.18.0",
"husky": "latest",
"lint-staged": "latest",
"mocha": "^11.1.0",
"node-abi": "^3.71.0",
"nyc": "^17.1.0",
"prebuild": "^13.0.1",
"prettier": "latest",
"semver": "^7.6.3",
"should": "^13.2.3",
"tsd": "^0.31.2",
"tsup": "^8.3.5",
"turbo": "^2.3.3",
"typescript": "^5.7.3"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,less,vue}": [
"prettier --write",
"git add"
]
},
"gypfile": true,
"directories": {
"test": "test"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magicdawn/simple-mac-clipboard.git"
},
"bugs": {
"url": "https://github.com/magicdawn/simple-mac-clipboard/issues"
},
"homepage": "https://github.com/magicdawn/simple-mac-clipboard#readme",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"packageManager": "pnpm@9.15.3+sha512.1f79bc245a66eb0b07c5d4d83131240774642caaa86ef7d0434ab47c0d16f66b04e21e0c086eb61e62c77efc4d7f7ec071afad3796af64892fae66509173893a"
}