clipboard-copy-element/package.json

64 строки
2.0 KiB
JSON

{
"name": "@github/clipboard-copy-element",
"version": "1.1.2",
"description": "Copy element text content or input values to the clipboard.",
"repository": "github/clipboard-copy-element",
"main": "dist/index.js",
"type": "module",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": "./dist/index.js",
"./define": "./dist/index.js",
"./clipboard-copy": "./dist/clipboard-copy-element.js",
"./clipboard-copy/define": "./dist/clipboard-copy-element-define.js"
},
"scripts": {
"clean": "rm -rf dist",
"lint": "eslint . --ext .js,.ts && tsc --noEmit",
"lint:fix": "npm run lint -- --fix",
"prebuild": "npm run clean && npm run lint && mkdir dist",
"bundle": "esbuild --bundle dist/index.js --keep-names --outfile=dist/bundle.js --format=esm",
"build": "tsc && npm run bundle && npm run manifest",
"prepublishOnly": "npm run build",
"pretest": "npm run build",
"test": "web-test-runner",
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'",
"manifest": "custom-elements-manifest analyze"
},
"keywords": [
"clipboard"
],
"license": "MIT",
"files": [
"dist"
],
"prettier": "@github/prettier-config",
"devDependencies": {
"@custom-elements-manifest/analyzer": "^0.8.3",
"@github/prettier-config": "^0.0.6",
"@open-wc/testing": "^3.1.8",
"@web/dev-server-esbuild": "^0.4.1",
"@web/test-runner": "^0.19.0",
"@web/test-runner-playwright": "^0.11.0",
"chai": "^4.2.0",
"chromium": "^3.0.3",
"esbuild": "^0.17.19",
"eslint": "^8.42.0",
"eslint-plugin-custom-elements": "^0.0.8",
"eslint-plugin-github": "^4.8.0",
"karma": "^6.3.16",
"karma-chai": "^0.1.0",
"karma-chrome-launcher": "^3.1.0",
"karma-mocha": "^2.0.1",
"karma-mocha-reporter": "^2.2.5",
"mocha": "^10.1.0",
"rollup": "^1.32.1",
"typescript": "^5.1.3"
},
"eslintIgnore": [
"dist/"
],
"customElements": "custom-elements.json"
}